Effacer les filtres
Effacer les filtres

Time-varying parameters in Simulink model

23 vues (au cours des 30 derniers jours)
Thomas
Thomas le 24 Juin 2024 à 16:00
Réponse apportée : Fangjun Jiang le 25 Juin 2024 à 15:43
I am implementing a Simulink model in which I would like to use time-varying parameters for certain blocks. I have tried using a timeseries object to specify parameter values as a function of time, but this is not one of the supported parameter formats. Are there any ways in which this can be accomplished?
  1 commentaire
Sam Chak
Sam Chak le 25 Juin 2024 à 7:10
Can you type out the equation as a function of time?
Preferably in LaTeX format. Click the Sigma icon .

Connectez-vous pour commenter.

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 25 Juin 2024 à 15:43
If you have a timeseries object, then you can use the "From Workspace" block. It supports timeserious objects.
This time-varying value will become a signal, not a parameter. You have to find a way to use it for your parameter. For example, if you mean to use this time-varying value as the time-varying gain of a Gain block, you can use a multiplication (the Product block) to implement it.

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by