When you are finished creating a function, System object™, or block, select the topic below that describes how you are planning to cosimulate your HDL code.
|If you generated this cosimulation interface:||Select one of these topics:|
|MATLAB® test bench function (|
|MATLAB component function (|
MATLAB System object
With a completed System object, you are ready to use it for HDL verification. See Verify Viterbi Decoder Using MATLAB System Object and HDL Simulator for an example of using the MATLAB System object for HDL cosimulation.
After you have an HDL cosimulation model, run the simulation. See Run a Simulink Cosimulation Session.
You can also view the following examples: