Can a Simscape Physical Signal be made discrete

6 vues (au cours des 30 derniers jours)
Braden Priddy
Braden Priddy le 15 Sep 2022
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?

Réponses (1)

Vidip Jain
Vidip Jain le 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

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by