Why do I receive an error when I try to run the Link for ModelSim 1.0 (R13SP1+) demo MODSIMRAND?

4 次查看(过去 30 天)
I am trying to run the ModelSim demo MODSIMRAND using the following code in MATLAB
vsim('vsimdir', 'C:\FPGAdv62PS\Modeltech\win32');
modsimrand
but I keep getting the following error
To enable access from ModelSim, HDLDaemon is used with appropriate link settings.
The following messages are produced by HDLDaemon to indicate link status ...
HDLDaemon is NOT running
HDLDaemon shared memory server is running with 0 connections
Failed to launch Modelsim!
If Modelsim is not on the system path,
please use parameter 'vsimdir' to specify its location
??? Error using ==> vsim
'modelsim' is not recognized as an internal or external command,
operable program or batch file.

采纳的回答

MathWorks Support Team
This happens when the Link for ModelSim 1.0 (R13SP1+) program is not on the Windows path. When using the VSIM command directly, you can specify the directory to run ModelSim from.
However the MODSIMRAND function does not have this option and the 'vsimdir' parameter is not used in later calls.
Add the directory that the ModelSim program is in to the Windows path. Note: Adding this directory to the MATLAB path will not fix the problem.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Name Construction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by