Generating matlab model for veristand simulation

1 回表示 (過去 30 日間)
Abdulhameed mambo
Abdulhameed mambo 2011 年 8 月 10 日
I am trying to generate a matlab model for veristand but was accosted by the error below:
### Linking ...
C:\Program Files\MATLAB\R2011a\sys\perl\win32\bin\perl C:\Program Files\MATLAB\R2011a\rtw\c\tools\mkvc_lnk.pl TestModelForVeristand.lnk TestModelForVeristand.obj TestModelForVeristand_data.obj rtGetInf.obj rtGetNaN.obj rt_logging.obj rt_nonfinite.obj NIVeriStand_main.obj rt_sim.obj TestModelForVeristand.res
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\Program' : return code '0x1'
Stop.
The make command returned an error of 2
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
operable program or batch file.
### Build procedure for model: 'TestModelForVeristand' aborted due to an error.
>>
Thanks in advance. Mambo

回答 (3 件)

Friedrich
Friedrich 2011 年 8 月 10 日
Hi,
looks like the whitespaces in the path are making troubles here, e.g.
'C:\Program' is not recognized as an internal or external command, operable program or batch file
Maybe try a different compiler which can handle whitespaces, or put the model in a folder without whitespaces.

Kaustubha Govind
Kaustubha Govind 2011 年 8 月 10 日
What system target file have you chosen for code generation? It looks like this may be a third-party provided custom target that was only tested with an installation of MATLAB where its location did not contain spaces in the path.

Abdulhameed mambo
Abdulhameed mambo 2011 年 8 月 11 日
Thank you very much John Wilson of the national instruments, Friedrich and Kaustubha. I re-installed my matlab into the C:/ directory intead of the program it was in previously and watched the following video on veristand recommended to me by John:
Regards'
Mambo.

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by