Can you create an S-Function from a Simscape Model?

I have a Simscape Model which uses standard Simscape blocks and blocks from Simscape Driveline. Is it possible to create an S-Function from that model?
If yes, what is the best method?
Are there any limitations?
Can the S-Function have parameters for the Simscape blocks? they don't have to be tunable.
Many Thanks,
Tamam

回答 (1 件)

Juan Sagarduy
Juan Sagarduy 2021 年 2 月 9 日

1 投票

Hi Tamam
S-function generation from Simscape models is no longer supported from releases after 2015 or thereabouts. Deployment shall be done in the form of protected models which uses Simulink Coder as well.
Hope this was helpful Br Juan

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

製品

リリース

R2020a

質問済み:

2021 年 2 月 1 日

回答済み:

2021 年 2 月 9 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by