Cameo Simulation Toolkit supports Mathematica®, a Mathematical computation engine, to analyze and solve Mathematica®l expressions. Once you have installed Mathematica® , you can specify it as the language of opaque expressions.
First, you must install Mathematica® on your local machine, and then set up your system to allow Cameo Simulation Toolkit to use the installed Mathematica®.
To use Mathematica® on a 64-bit version of Microsoft Windows and Linux
- On the MagicDraw main menu, select Tools > Integrations. The Integrations dialog opens.
![Cameo Simulation Toolkit 2024x > Integration with Mathematica > Integrations Dialog (Windows).PNG](/download/attachments/136729772/Integrations%20Dialog%20%28Windows%29.PNG?version=1&modificationDate=1695362369677&api=v2)
- From the list, select Mathematica and click Integrate/Remove Integration. The Mathematica directory selection dialog opens.
![Cameo Simulation Toolkit 2024x > Integration with Mathematica > Mathematica Dialog.PNG](/download/attachments/136729772/Mathematica%20Dialog.PNG?version=1&modificationDate=1695362369825&api=v2)
- Browse for the home directory of Mathematica®.
- Click OK and restart MagicDraw.
To use Mathematica® on Mac OSX
- From the main menu, click Tools > Integrations. The Integrations dialog opens.
![Cameo Simulation Toolkit 2024x > Integration with Mathematica > Integrations Dialog (Mac).PNG](/download/attachments/136729772/Integrations%20Dialog%20%28Mac%29.PNG?version=1&modificationDate=1695362369750&api=v2)
- From the list, select Mathematica and click Integrate/Remove Integration. The Mathematica directory selection dialog opens.
![Cameo Simulation Toolkit 2024x > Integration with Mathematica > Integrate Remove Integration Dialog (Mac).png](/download/attachments/136729772/Integrate%20Remove%20Integration%20Dialog%20%28Mac%29.png?version=1&modificationDate=1695362369776&api=v2)
- Specify the directory where you have installed Mathematica® and click OK.
- Restart the modeling tool.
(Only for integration with Mathematica Version 12.3 or later) After completing the steps above using the Integration dialog, you must change JAVA_HOME to JDK 17 by following the steps below: - Go to https://adoptium.net/temurin/releases/ and download JDK 17 (17.0.8 recommended) for your operating system. Alternatively, you can use the Java bundled with Mathematica 12.3 or later from the <Mathematica_install_root>\SystemFiles\Java\Windows-x86-64 directory.
- Open the <modeling_tool_install_root>/bin/<modeling_tool_name>.properties file (e.g., magicdraw.properties) with a text editor.
Change JAVA_HOME to the JDK 17 directory and save the file, for example: JAVA_HOME=C\:\\Program Files\\AdoptOpenJDK\\jdk-11.0.12 |
Restart the modeling tool.
|