Building error with the message of 'Simulink' is not recognized as an internal or external comman
2 views (last 30 days)
Show older comments
Hello,
I tried to SIL simulation with the demo file of 'rtwdemo_sil_block' on MATLAB 2012b. I just followed the documentation, 'Software and Processor in the loop (SIL and PIL) Simulation. Whenever I try to build subsystem I encounter the error message like below. I think I set up the MEX properly. Could you let me know how to solve the issue?
Thanks in advance for your help.
### Starting build procedure for model: Controller C:/PROGRA~2/MATLAB/R2012b\sys\lcc\bin\lcc -c -FoController.obj -DMODEL=Controller -DNUMST=1 -DNCSTATES=0 -DMAT_FILE=0 -DINTEGER_CODE=0 -DONESTEPFCN=1 -DTERMFCN=0 -DHAVESTDIO -DMULTI_INSTANCE_CODE=0 -DCLASSIC_INTERFACE=0 -DMT=0 -DPORTABLE_WORDSIZES -I. -I.. -IC:/PROGRA~2/MATLAB/R2012b\simulink\include -IC:/PROGRA~2/MATLAB/R2012b\extern\include -IC:/PROGRA~2/MATLAB/R2012b\rtw\c\src -IC:/PROGRA~2/MATLAB/R2012b\rtw\c\libsrc -IC:/PROGRA~2/MATLAB/R2012b\rtw\c\src\ext_mode\common -IC:/PROGRA~2/MATLAB/R2012b\rtw\c\src\ext_mode\tcpip -IC:/PROGRA~2/MATLAB/R2012b\rtw\c\src\ext_mode\serial -IC:/PROGRA~2/MATLAB/R2012b\rtw\c\src\ext_mode\custom -ID:/05_Power_Plant_For_Training/00_MATLAB&Simulink/Controller_ert_rtw -ID:/05_Power_Plant_For_Training/00_MATLAB&Simulink -IC:/PROGRA~2/MATLAB/R2012b\sys\lcc\include -I../slprj/ert/_sharedutils -w -noregistrylookup Controller.c lcc preprocessor fatal: Can't open input file -c 'Simulink' is not recognized as an internal or external command, operable program or batch file. 'Simulink' is not recognized as an internal or external command, operable program or batch file. gmake: * [Controller.obj] Error 1
### Build procedure for model: 'Controller' aborted due to an error. ??? Subsystem build failed
1 Comment
yoonyku yoo
on 25 Aug 2020
I solved this problem by moving project(files) directory to C(main) Drive
Answers (0)
See Also
Categories
Find more on Multicore Processor Targets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!