开发者

what can I do with generate S-function

Is there someone who generate s-function from simulink subsyste开发者_StackOverflowm by right click->generate s-function ? could you explain me how the generated code could be used ?


It will generate the C code equivalent of your subsystem. You can use this code in a S-function block ('User-defined Function/S-function').

The "generate" menu also automatically create a block visualy similar to you subsystem but encapsulating the S-function (with this C code). If you do 'look under mask' on this block you will see the S-function itself. This block if faster than the original one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜