Can a Simscape Physical Signal be made discrete
Show older comments
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
on 5 Sep 2023
0 votes
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
Categories
Find more on Simscape in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!