Rapid Acceleration mode Simulink compilation problem
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Pedro Pablo Mitidieri
am 6 Jul. 2021
Beantwortet: Srijan Jain
am 6 Jul. 2021
Hello,
I am trying to compile my simulink model to run in Rapid Acceleration mode. I am currently using only simulink blocks and I have also run the C code build option and solve the warning it has found.
However, I am still finding this problem and I was not able to find any solution to my problem.
-----------------------------------------------------------------------Part 1 :
Top Model Build 1
Elapsed: 9 sec
### Building the rapid accelerator target for model: model_nmpc
Página de códigos activa: 1252
"D:\Programas\mingw64\bin/gcc" -c -fwrapv -m64 -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -DCLASSIC_INTERFACE=1 -DALLOCATIONFCN=0 -DONESTEPFCN=0 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DEXT_MODE -DIS_RAPID_ACCEL -DTGTCONN -DIS_SIM_TARGET -DNRT -DRSIM_PARAMETER_LOADING -DRSIM_WITH_SL_SOLVER -DENABLE_SLEXEC_SSBRIDGE=1 -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=1 -DMODEL=model_nmpc -DNUMST=3 -DNCSTATES=1 -DHAVESTDIO @model_nmpc_comp.rsp -o "rt_logging_simtarget.obj" "C:/PROGRA~2/MATLAB/rtw/c/src/rt_logging_simtarget.c"
gmake: *** No rule to make target `D:/Documentos/facultad/Automation', needed by `model_nmpc.obj'. Stop.
The make command returned an error of 2
### Build procedure for model_nmpc aborted due to an error.
----------------------------------------------------------------------Part 2 :
Top model rapid accelerator targets built: Model Action Rebuild Reason ====================================================================== model_nmpc Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 10.059s
---------------------------------------------------------------------Part 3 :
Unable to build a standalone executable to simulate the model 'model_nmpc' in rapid accelerator mode.
Caused by:
- Error(s) encountered while building "model_nmpc"
0 Kommentare
Akzeptierte Antwort
Srijan Jain
am 6 Jul. 2021
Hey,
I understand that you're facing errors while building your model in Rapid Acceleration mode.
You may want to refer to this: Rapid Accelerator target building error for simulink model
Hope this helps
Srijan
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!