Can a Simscape Physical Signal be made discrete

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 个)

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 Exchange 中查找有关 Simscape 的更多信息

产品

版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by