At run time, tell the operating system where the API shared libraries reside by setting
Path environment variable. Set the value to the path returned by the
following MATLAB® command:
res = fullfile(matlabroot,'bin',computer('arch'))
To set the run-time library path from the Windows® command prompt, type the following command, where
res is the value returned from the
fullfile command. Set the path every time that you open the
Windows Command Processor.
Set the path each time that you open the Windows prompt.
To set the run-time library path permanently to
Path variable using the Control Panel. For the setting to take
effect, close the command prompt window, then open a new command prompt window.
To remove the run-time library path, follow the same instructions, deleting the path name from the variable.
Select Computer from the Start menu.
Choose System properties from the context menu.
Click Advanced system settings > Advanced tab.
Click Environment Variables.
Under System variables, select
Path by inserting
at the beginning of the
Variable value: text field.
To close the dialog boxes, click Ok then close the Control Panel dialog box.
If you have multiple versions of MATLAB installed on your
system, the version you use to build your engine applications must
be the first listed in your system
variable. Otherwise, MATLAB displays
Can't start MATLAB