Can a Simscape Physical Signal be made discrete

6 views (last 30 days)
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?

Answers (1)

Vidip Jain
Vidip Jain on 5 Sep 2023
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

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!