is it possible to add simulink function in customized library?

2 ビュー (過去 30 日間)
진회 김
진회 김 2023 年 5 月 24 日
回答済み: Selena Mastrodonato 2023 年 5 月 24 日
i use simulink function in state flow chart.
but, there are so many same simulink function which used in different stateflow chart.
so, it is difficult to manage. because, if i change that simulink function, i have to change each same simulink function which used in different chart.
so i want to add simulink function to library. and if there are some changes in simulink function, i want to revise only one time.
please give me some answer.

回答 (1 件)

Selena Mastrodonato
Selena Mastrodonato 2023 年 5 月 24 日
You could add to a custom library a chart with your simulink function and then use this chart as base for your stateflow charts. Or maybe, if you don't want to make all these changes, you could create a subsystem in the custom library with the content of your simulink function and use it in every simulink function in your charts.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by