some header files which are actually included in code were not generated in code generation process of simulink.
조회 수: 16 (최근 30일)
이전 댓글 표시
I have generated c++ code for inverse kinematics for a six dof arm. The generated code includes header files like "ctimefun.h", "nesl_rtw.h" which are not actually generated in the code generation. Can any one help what are these header files?
댓글 수: 0
답변 (3개)
Harshita Gupta
2019년 3월 28일
Hello ,
Try restoring the search path to default one :
>> rehash toolbox
>> rehash toolboxcache
>> sl_refresh_customizations
sl_refresh_customizations" refreshes the Simulink menu and the dialog customization.
It probably will help.
댓글 수: 0
Tohru Kikawada
2020년 4월 29일
You may need to call packNGo to collect the referred files from your code. Here is an example for this and the files can be found in generated myfunc_archive.zip.
codegen -config cfg myfunc -args {arg} -launchreport
load(fullfile('codegen','lib','myfunc','buildInfo'));
packNGo(buildInfo,{'packType', 'flat', ...
'fileName','myfunc_archive'});
댓글 수: 0
hu yutong
2020년 7월 16일
Include this two folders:
{MatlabPath}\R2020a\toolbox\shared\robotics\robotcore\rate\include (ctimefun.h)
{MatlabPath}\R2020a\extern\include
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!