MapleSimConnector - MapleSim Connector Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim Toolboxes : MapleSim Connector : MapleSimConnector/setup

MapleSimConnector

  

setup

  

setting up the MapleSim Connector

 

Description

Setting up the Maple-MATLAB® Link

Setting up the MATLAB® Mex Compiler

Description

• 

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.

Setting up the Maple-MATLAB® Link

  

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.

Setting up the MATLAB® Mex Compiler

  

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 Lcc C compiler. If you are using a 64 bit 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 setup 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.

See Also

MapleSim

MapleSimConnector

Matlab[setup]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam