The RTW of simulink and adams
이전 댓글 표시
I want to use RTW to bulid a C code of simulink&adams, but the program give me this sentences:" Error: File: D:\Program Files\MATLAB\R2011b\rtw\c\tlc\lib\utillib.tlc Line: 665 Column: 8 %exit directive: Simulink Coder Fatal in block: "ball4/S-Function1", block type "S-Function": MFile S-functions without a corresponding TLC file are not supported. You can inline your S-function (sysstop_new) by creating a TLC file for it. You can also remap your S-function to C by creating a corresponding C Mex source file and a sysstop_new.tlc file in the same directory as the MFile S-function which contains (on the first line): %% CallAsCMexLevel1 or %% CallAsCMexLevel2. "
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!