필터 지우기
필터 지우기

Why do I get an error when I try to launch ModelSim from within MATLAB 7.8(R2009b) on a Linux machine?

조회 수: 6 (최근 30일)
I am trying to launch ModelSim from within MATLAB. When I execute the following command
vsim
I get the following error
??? Error using ==> hdlsim at 189
hdlsim: Could not open command file
/nfs/iil/eda/data/disk0028/mathworks/matlab/R2009b/linux_2.6.16_x86-64/c
ompile_and_launch.tcl Use 'startupfile' to define
a valid command file.
Error in ==> vsim at 91
hdlsim(pvpairs{:});

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 12월 11일
MATLAB creates a 'compile_and_launch' file in the current directory when the command VSIM is executed at the MATLAB command prompt. If the user does not have write permissions to the current directory the creation of this file would fail.
To workaround this issue consider one of the following two approaches:
1. Change the current directory where user has write permissions.
2. Use the optional argument 'rundir' for the VSIM command to specify the directory where ModelSim needs to run. For example consider the following code
vsim('rundir',tempdir);

추가 답변 (0개)

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2009b

Community Treasure Hunt

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

Start Hunting!

Translated by