The RTW of simulink and adams
Show older comments
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. "
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!