Simulink with block using external sfunction throws Unable to find makefile when generating code using embedded coder
이전 댓글 표시
I have been supplied a simulink model with a block referencing an sfunction, "ab_sf.mexw64", when I include this block in my simulink model I and try to generate code using embedded coder the process fails with the following error message:
Generating code into build folder: C:\xxxx\Matlab\CTLbuild_ert_rtw
### Build procedure for model: 'CTLbuild' aborted due to an error.
Error in 'CTLbuild/xxxx/VscIdd/ab_sfcn': Initialization commands cannot be evaluated.
Caused by:
Unable to find makefile:
C:\xxx\MATLAB\S3_VCM_Stage10b_R2015b\Main\Models\VCM\VscIdd_sfcn_rtw\ab.mk
for the generated MEX S-function 'ab_sf '.
This is required in order to show the underlying modules or to build a target from this model. If simulation capability is only needed, unselect the 'Show Module List' checkbox, otherwise try rebuilding the S-function target for model 'ab'
What am I doing wrong?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!