Running Cosimulation with QuestaSim

16 次查看(过去 30 天)
According to much of the documation and examples, the cosimulation features should be utilizable with QuestaSim as well as ModelSim. However, I only have QuestaSim (specifically version 2019.3) installed on my machine; when I try running the "vsim" command, I trigger the error that ModelSim is not installed. I'd rather not install ModelSim unless I absolutely have to for this effort; is there an option I can utilize to have MATLAB search for QuestaSim instead of ModelSim, or is there a configuration I would have to do?
  2 个评论
Bharath Venkataraman
You can specify the vsimdir property value pair to vsim. See this page for details.
You should also be able to add the path to vsim via the setenv function in MATLAB and put vsim on the path when MATLAB invokes QuestaSim.
Heston Jayasinghe
编辑:Heston Jayasinghe 2021-8-2
Hello Bharath,
Thank you for the reply!
So I have configured the PATH environmental variable to include the executable files folder, "C:\Apps\mgc\questasim64_2019.3\win64".
Even after that, I was still getting the same error in MATLAB 2019b. However, I just now tried vsim in MATLAB 2021a without any additional steps, and it worked completely fine. Is it possible that the version of Questa I'm trying to use is incompatible with the earlier MATLAB version?
Edit: scratch all that. Suddenly now it's working with MATLAB 2019b too. I assume it updated throughly once I reset my machine.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Downloads 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by