Running Cosimulation with QuestaSim

조회 수: 16 (최근 30일)
Heston Jayasinghe
Heston Jayasinghe 2021년 7월 29일
편집: Heston Jayasinghe 2021년 8월 2일
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
Bharath Venkataraman 2021년 7월 30일
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일
편집: 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