<!doctype html public '-//W3C//DTD HTML 4.01//EN'
  'http://www.w3.org/TR/html4/strict.dtd'>
<html>
<title>Isight - Examples</title>
  <head>
	<link rel="stylesheet" href="../../../EStyle.css" type="text/css">
	<link rel="stylesheet" href="../../../ETables.css" type="text/css">
  </head>
<a href="http://www.simulia.com/products/sim_opt.html"><img src="../../../../examples/logo.gif"></a>
<h1>Matlab Component</h1>

<table>
	<th colspan=2>Matlab</th>
	<tr>
		<td>Description:</td>
		<td><p>This simple model demonstrates the use of the Matlab component.  The physical properties of a spring are calculated from its design parameters, for each of a range of sample designs.<br/><br/>

		To run this model in Isight, it is necessary to configure Isight to access a Matlab installation <i>(Warning: On Windows the Matlab installation cannot be on a remote machine!)</i>:
		<ul>
			<li>Set the environment variable <b>MATLAB</b> to refer to the Matlab executable: <u><i>matlab-install-dir</i><b>/bin</b></u> (Unix/Linux) or <u><i>matlab-install-dir</i><b>\bin\win32</b></u> (Windows).<br/>
			<li>Set the environment variable <b>MATLAB_SHLIB</b> to refer to the Matlab shared libraries: <u><i>matlab-install-dir</i><b>/bin/</b><i>platform</i></u> (Unix/Linux) or <u><i>matlab-install-dir</i><b>\bin\win32</b></u> (Windows).<br/>
			<li><i>ON WINDOWS ONLY:</i> Matlab must be registered with COM.  Open a command-line window, go to the Matlab installation directory, and run <u><b>.\bin\win32\matlab /regserver</b></u>) (if there is more than one installation, go to the one to be used by Isight).<br/><br/>
		</ul>
		<br/>
		A command in the Matlab component plots a point representing each evaluated spring design.  This command is separate from the design calculation so that plotting may be freely enabled or disabled before execution.
		</td>
	</tr>
	<tr>
		<td>Model:</td>
		<td><a href="SpringSearch.zmf">SpringSearch.zmf</a></td>
	</tr>
	<tr>
		<td>Illustrated components:</td>
		<td>Matlab</td>
	</tr>
	<tr>
		<td>Other illustrated features:</td>
		<td>DOE, Optimization</td>
	</tr>
	<tr>
		<td>Simcodes needed:</td>
		<td>Matlab</td>
	</tr>
	<tr>
		<td>Support files needed:</td>
		<td>None</td>
	</tr>
</table>
</html>
