Deciding on Test Bench Scheduling Options

By default, the Link for ModelSim interface invokes a MATLAB test bench function once (when time equals 0). If you want to apply more control and execute the MATLAB function more than once, decide on scheduling options that specify when and how often the Link for ModelSim interface is to invoke the relevant MATLAB function. Depending on your choices, you may need to modify the function or specify specific arguments when you initiate a MATLAB test bench session with the matlabtb or matlabtbeval command.

You can schedule a MATLAB simulation function to execute

Decide on a combination of options that best meet your test bench application requirements. For details on using the tnext parameter, see Controlling Callback Timing from a MATLAB Test Bench Function. For information on setting other scheduling parameters, see Initializing the Simulator for a MATLAB Test Bench Session.


Learn more about the latest releases of MathWorks products:

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