Simulink Modelsim Cosimulation Error
4 views (last 30 days)
Show older comments
Hi, I ve tried the simple inverter tutorial as given in Matlab help for the cosimulation. But i m getting the following error. The similiar error comes wen i run the demos given with Matlab. I am using Matlab R2008a and Modelsim 6.6b.
" Error in 'inverter/HDL Cosimulation': Initialization commands cannot be evaluated. MATLAB error message: Error reported by S-function 'shdlcosim' in 'inverter/HDL Cosimulation/S-Function': The following signal names do not exist in the loaded HDL model. /inverter/sin /inverter/sout /inverter/clk Check HDL simulator waveform window for full hierarchical signal names." In Modelsim wave window the signals are coming as such.
Plz help. Many Thanks in advance...
Karthik R
0 Comments
Accepted Answer
Kaustubha Govind
on 19 Dec 2011
I think the error that you're seeing occurs if you are using an unsupported version of Modelsim (see http://www.mathworks.com/support/bugreports/531802)
Modelsim 6.6b is likely not supported with MATLAB R2008a. You can check the documentation for your version of MATLAB to find the supported Modelsim versions. You will need to upgrade to MATLAB R2011b to be able to use version 6.6 : http://www.mathworks.com/help/releases/R2011b/toolbox/edalink/gs/bsm6iqf-8.html#bsm6iqf-10
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!