Simulink Modelsim Cosimulation Error

12 次查看(过去 30 天)
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

采纳的回答

Kaustubha Govind
Kaustubha Govind 2011-12-19
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
  1 个评论
Karthik R
Karthik R 2011-12-25
Ok...Thanks a lot for answering. I ll check whether i can go back to earlier modelsim version. Once again thanks.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by