Why my Simulink does not work on RAPID ACCELERATOR mode?

21 views (last 30 days)
Dear Ms,
I am experiencing an odd issue in my PC with the Simulink, I have not ever experienced this sort of problem that block me the posibility of runs my models on Rapid Accelerator mode (RAm). It always gives me an error, even with the MATLAB EXAMPLES, that is why I have concluded that it is not a problem of my own model, because they can runs in RAm in whatever other PCs. Finally, I have to highlight that have not occur in past versions of MATLAB. I have installed the release 2018b.
Anyone of you could please help me to solve it?, I would be very grateful if you help me to solve it.
  2 Comments
Tony Castillo
Tony Castillo on 11 Feb 2019
Simulation 2 2 Clear
06:44 PM Elapsed: 55 sec
Code Generation 1 1
Elapsed: 41 sec
### Building the rapid accelerator target for model: k1_3
"C:\PROGRA~3\MATLAB\SUPPOR~1\R2018b\3P.instrset\mingw_w64.instrset\bin/gcc" -c -pedantic -Wno-long-long -fwrapv -m64 -O0 -DCLASSIC_INTERFACE=1 -DALLOCATIONFCN=0 -DEXT_MODE=1 -DONESTEPFCN=0 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DTID01EQ=0 -DTGTCONN -DON_TARGET_WAIT_FOR_START=0 -DMODEL=k1_3 -DNUMST=3 -DNCSTATES=22 -DHAVESTDIO -DNRT -DRSIM_PARAMETER_LOADING -DRSIM_WITH_SL_SOLVER -DENABLE_SLEXEC_SSBRIDGE=1 -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Tony C/DOCUME~1/MATLAB/MODELO_NUEVO_SESDE++/k1_ -IC:/Users/Tony C/DOCUME~1/MATLAB/MODELO_NUEVO_SESDE++/k1_/slprj/raccel/k1_3 -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rapid -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/raccel -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rtiostream/rtiostreamtcpip -IC:/PROGRA~1/MATLAB/R2018b/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/MATLAB/R2018b/toolbox/physmod/powersys/facts/facts -IC:/PROGRA~1/MATLAB/R2018b/toolbox/physmod/powersys/DR/DR @k1_3_comp.rsp -o "rt_matrx.obj" "C:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rt_matrx.c"
gcc: error: C/DOCUME~1/MATLAB/MODELO_NUEVO_SESDE++/k1_: No such file or directory
gcc: error: C/DOCUME~1/MATLAB/MODELO_NUEVO_SESDE++/k1_/slprj/raccel/k1_3: No such file or directory
gmake: *** [rt_matrx.obj] Error 1
The make command returned an error of 2
"An_error_occurred_during_the_call_to_make" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
### Build procedure for model: 'k1_3' aborted due to an error.
Unable to build a standalone executable to simulate the model 'k1_3' in rapid accelerator mode.
Caused by:
Error(s) encountered while building "k1_3":
### Failed to generate all binary outputs.
Component:Simulink | Category:Model error

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 11 Feb 2019
Edited: Walter Roberson on 11 Feb 2019
Your files are under a directory that have a space in the name, TONY C
You could make attempts at fixing the tools so that they do not fail with spaces but by far the easier workaround is to use a location with no spaces in the directory name.
  4 Comments
Tony Castillo
Tony Castillo on 12 Feb 2019
Thank you for your answer, your thoughts have helped me for solving my issues.
Krasimir Terziev
Krasimir Terziev on 14 May 2021
Thank you, that helped me alot.
The problem with me was that I had named my folder in Cyrillic.

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!