How can I interface with the S-function builder from the command line?

4 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2025 年 12 月 18 日 0:00
編集済み: MathWorks Support Team 2025 年 12 月 18 日 4:41
I am using Simulink R2023a. I have an S-function builder block in my model. Is there a command-line API to be able to build the S-function without opening the S-function builder GUI?

採用された回答

MathWorks Support Team
MathWorks Support Team 約5時間 前
編集済み: MathWorks Support Team 5分 前
Starting in MATLAB R2022a, you can use functions like "Simulink.SFunctionBuilder.add()", "Simulink.SFunctionBuilder.build()" to interact with the S-Function Builder in Simulink. The documentation for these two functions is linked below: 
To find more functions to interact with the S-Function Builder GUI in Simulink, please read the MATLAB documentation page "Implement C/C++ Code Using S-Function Builder":

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Environment Customization についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by