Rapid Accelerator target building error for simulink model
70 ビュー (過去 30 日間)
古いコメントを表示
Yasho Bharat Boggarapu
2020 年 9 月 29 日
コメント済み: TianYe Long
2023 年 5 月 24 日
I am getting these errors while building model in MATALB 2020a/b. I couldnt understand. Please anyone can help me to resolve this issue .
Unable to build a standalone executable to simulate the model 'AeroSimModelv4_app2020a' in rapid accelerator mode.
Caused by:
- "C:\PROGRA~3\MATLAB\SUPPOR~1\R2020a\3P778C~1.INS\MINGW_~1.INS\bin/gcc" -c -fwrapv -m64 -O0 -DCLASSIC_INTERFACE=1 -DALLOCATIONFCN=0 -DONESTEPFCN=0 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DEXT_MODE -DIS_RAPID_ACCEL -DTGTCONN -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=AeroSimModelv4_app2020a -DNUMST=2 -DNCSTATES=5 -DHAVESTDIO @AeroSimModelv4_app2020a_comp.rsp -o "rt_logging.obj" "B:/MATLAB2020a/rtw/c/src/rt_logging.c" gmake: *** No rule to make target `B:/IPSOMEDT_Aero_App/IPSOMEDT', needed by `AeroSimModelv4_app2020a.obj'. Stop. The make command returned an error of 2 Error(s) encountered while building "AeroSimModelv4_app2020a": ### Failed to generate all binary outputs.
0 件のコメント
採用された回答
Urmila Rajpurohith
2020 年 10 月 21 日
Hi
When there are spaces in the path of model file it throws the error in Rapid Accelerator Mode.
As a workaround try to remove all the spaces from the path of the file. Then the Rapid Accelerator mode may run fine.
Refer to the below documentation on "Troubleshooting Errors When Folder Names Have Spaces"
https://www.mathworks.com/help/rtw/ug/enable-build-process-for-folder-names-with-spaces.html#bu6lx34
Hope this helps!
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!