setting up the MapleSim Connector
Setting up the Maple-MATLAB® Link
Setting up the MATLAB® Mex Compiler
To use the MapleSim Connector, you must set up the Maple-MATLAB® link and the MATLAB® mex compiler.
Note: If you are using the MapleSim Connector in a Linux® environment, you must have a C shell installed to complete the setup process.
To configure Maple to communicate with MATLAB® and Simulink®, you must set up the Maple-MATLAB® link.
To establish a connection with MATLAB(R):
In a Maple worksheet, enter the command Matlab[evalM]("simulink").
A Simulink® library window is opened and the connection is established. If a MATLAB® command window is not opened, follow the instructions in Matlab[setup] to configure the connection.
To compile generated code, you must set up the MATLAB® mex compiler.
To set up the compiler:
Start MATLAB® and enter the following command: mex -setup. Follow the instructions to choose a local C compiler.
If you are using Microsoft Windows, it is recommended that you use the Microsoft Visual C++ compiler which is required for the MapleSim compile option. Please see Install.html for setting up the Microsoft Visual C++ compiler under 64-bit Microsoft Windows. If you are using Macintosh or Linux, it is recommended that you use the gcc compiler.
Download Help Document