| Link for ModelSim | ![]() |
You now have a VHDL representation of an inverter and a Simulink model that applies the inverter. To start ModelSim such that it is ready for use with Simulink, enter the following command line in the MATLAB Command Window:
vsim('socketsimulink', 4449)
Note If you entered a different socket port specification when you configured the VHDL Cosimulation block in Simulink, replace the port number 4449 in the preceding command line with the correct socket port information for your model. The vsim function informs ModelSim of the TCP/IP socket to use for establishing a communication link with your Simulink model. |
| Creating the Simulink Model | Loading Instances of the VHDL Entity for Cosimulation with Simulink | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |