I am trying to reference a Simscape model within a For iterator subsystem. To do this I need the Simscape model to be discrete.
Is there any way to accomplish this?

回答 (1 件)

Vidip Jain
Vidip Jain 2023 年 9 月 5 日

0 投票

I understand that you are trying to reference a Simscape model within a ‘for’ iterator subsystem and to do this the simscape model needs to be discrete.
The Model Discretizer is a tool in Simulink that can be used to discretize continuous-time models. The Model Discretizer can be used to convert a continuous-time model to a discrete-time model, or to create a variant subsystem that contains both continuous-time and discrete-time blocks.
Refer to this documentation for more information: https://www.mathworks.com/help/simulink/ug/model-discretizer.html

カテゴリ

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

製品

リリース

R2021a

質問済み:

2022 年 9 月 15 日

回答済み:

2023 年 9 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by