Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(1) Set the path to MATLAB Engine - On Windows, you need to add the folder <matlabroot>\bin\win64 at the beginning of the Path environment variable value. Replace <matlabroot> with the location of MATLAB installation on your computer. To do this, go to Control Panel > System and Security > System > Advanced Settings. Click on the Environment Variables button, select the Path variable under System Variables, and add the location <matlabroot>\bin\win64 at the top of the list, as shown below.



...

(3) Place MATLAB engine.jar file in libMATLAB folder - Create a libMATLAB folder in <YourAccount>\IBM\Rational\Rhapsody\<version>\Share\Profiles\Syndeia. Replace <version> with the location of Rhapsody installation on your computer. Then navigate to <matlabroot>\extern\engines\java\jar and copy the engine.jar file, then paste into the libMATLAB folder you created. This <matlabroot> must be the same one used for (1) above.

...

(4) Syndeia Settings - Set both Use MATLAB Engine API and Use existing MATLAB session to true in Syndeia's MATLAB settings after you have installed Syndeia.

...

Syndeia continues to provide the existing file-based interaction with the MATLAB environment (like Syndeia 3.0). If you have a version of MATLAB / Simulink / Stateflow earlier than 2016b, use this mode. To use this mode, set the path to the MATLAB executable (e.g. matlab.exe on Windows) in Syndeia's MATLAB settings after you have installed Syndeia. If you do not specify the path, then the default MATLAB installed on your computer will be used. We recommend that you specify this path so there is no ambiguity in the MATLAB installation Syndeia should use, especially if you have multiple versions of MATLAB installed.

...