How to build an S function from a shared library generated using the system target file ert_shrlib.tlc.
조회 수: 1 (최근 30일)
이전 댓글 표시
I'd like to build a shared library from a proprietary Simulink model then deliver both the library and a Simulink S function using the library to a third party for analysis. The proprietary model is similar to the rtwdemo_shrlib example with constant parameters, inputs and outputs. I've tried setting the code generation interface packaging to reusable function with individual arguments but don't understand how to hand the first argument of the step function which is related to the constants. When generating the S function using the Legacy Code Tool, how would the commands look for defining the OutputFcnSpec with constant, input, and output arguments?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!