Why do I get an error when I try to launch ModelSim from within MATLAB 7.8(R2009b) on a Linux machine?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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{:});
Respuesta aceptada
MathWorks Support Team
el 11 de Dic. de 2009
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 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!