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 Center および File ExchangeDownloads についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by