Why my Simulink does not work on RAPID ACCELERATOR mode?

21 次查看(过去 30 天)
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 个评论
Tony Castillo
Tony Castillo 2019-2-11
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

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2019-2-11
编辑:Walter Roberson 2019-2-11
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 个评论
Tony Castillo
Tony Castillo 2019-2-12
Thank you for your answer, your thoughts have helped me for solving my issues.
Krasimir Terziev
Krasimir Terziev 2021-5-14
Thank you, that helped me alot.
The problem with me was that I had named my folder in Cyrillic.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by