To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
When I get to the part of tutorial, "Loading Instances of the VHDL Entity for Cosimulation with Simulink" BUT the command
"vsimulink work.inverter" does not work. Modelsim says 'vsimulink' is an invalid command.
I can't really get passed that and its very frustrating.
I think the issue may be that Modelsim is not on the system path, and MATLAB can't find it. For example, try the following from MATLAB:
>> !vsim -version
If this doesn't work, make sure that vsim.exe on the system path and restart MATLAB.
Put a breakpoint in at hdlsim>l_GetModelSimLibInfo at 549 and examine lfmVer and see whether it is indeed a scalar or a string constant. If we knew the value that lfmVer had at that point, we might be able to get further.
Also, please look at the lines immediately after that and tell us what data type the switch() code is expecting to receive.