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!