Regarding configuremodelsim, It does not configure the selected modelsim

조회 수: 4 (최근 30일)
Pooja
Pooja 2013년 10월 14일
답변: Hans 2013년 12월 5일
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
Bharath Venkataraman 2013년 10월 25일
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
Tao Jia 2013년 10월 29일
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
Hans 2013년 12월 5일
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...

제품

Community Treasure Hunt

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

Start Hunting!

Translated by