Working with MATLAB and ModelSim

When linked with MATLAB, ModelSim functions as the client, initiating requests of MATLAB that focus on numerical computing, algorithm development, and visualization. The MATLAB server, which you start with a supplied MATLAB function, waits for connection requests from instances of ModelSim running on the same or different computers. When the server receives a request, it executes a specified wrapper MATLAB function you have coded to perform tasks on behalf of an entity in your VHDL design. Parameters that you specify when you start the server indicate whether the server establishes shared memory or TCP/IP socket communication links.

Once the server is running, you can start and configure ModelSim for use with MATLAB with a supplied Link for ModelSim function. Optional parameters allow you to specify

During the configuration process, Link for ModelSim equips ModelSim with a set of Link for ModelSim command extensions you use to

When you initiate a specific test bench session, you specify parameters that identify

The MATLAB server can service multiple simultaneous ModelSim entities and clients. However, your M-code must track the I/O associated with each entity or client.


Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS