Regarding configuremodelsim, It does not configure the selected modelsim
显示 更早的评论
Hello,
For HDL Co-simulation in MATLAB 2011a, I have two modelsim installed on my machine 1)Modelsim XE 6.2c and then I installed Modelsim PE Student Edition 10.2c
Then i used configuremodelsim, and selected Modelsim PE Edition 10.2c. I also added it in the system path. When I check !vsim -version, it still shows the modelsim XE 6.2c and vsim it opens the older version.
How can i change the configuration, and configure modelsim 10.2c with matlab.
回答(3 个)
Bharath Venkataraman
2013-10-25
0 个投票
You can call the MATLAB function vsim with a setting for the property vsimdir. Running "help vsim" in MATLAB will give you the information you need.
Tao Jia
2013-10-29
0 个投票
The configmodelsim has been in the deprecation state since 2009a, and it is completed removed in 2012a. Please avoid using this function and use vsim command instead. Vsim would pick up the fist ModelSim appears in the system path.
If you have two modlesim installated, you need to make sure that the one you want to use appears first. In your case, ModelSim PE should be the first one since ModelSim XE does not work with cosimulation.
Hans
2013-12-5
0 个投票
How can i make sure that the version of ModelSim i want to start appears first? So far i try >> vsim('vsimdir','C:\Modeltech_pe_edu_10.2c\'). Not 10.2c start but an other version of ModelSim does...
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Cosimulation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!