Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

Configuring ModelSim in MATLAB?

Altera_Forum
Honored Contributor II
1,837 Views

I have installed ModelSim 10.1c in my C directory. Matlab is also installed in the same directory (the installation folder for Matlab and Modelsim are different but both folders are in C drive). I have Simulink Model from which I have generated Cosimulation Model using HDL coder. The problem is that when I click on 'Double Click here to launch Modelsim', I got following error in Matlab command window 

 

 

'Failed to launch cosimulator with "vsim" 

Could not find ModelSim executable vsim. Make sure that ModelSim is installed on this machine and its executables are on the system path.' 

 

 

Can someone tell me how to solve this error?  

 

 

I have used the following command to open Modelsim from Matlab 

 

 

'vsim('vsimdir','C:/Modelsim/win64')'...It worked and ModelSim was successfully opened from Matlab...However, from Co-simulation model, it is not opening... 

 

 

Any help would be greatly appreciated...
0 Kudos
0 Replies
Reply