MATLAB: Simulink Modelsim Cosimulation Error

eda simulator mq

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

Best Answer

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