How to feed timeseries data to parameter

3 vues (au cours des 30 derniers jours)
pratik bhadange
pratik bhadange le 22 Août 2018
Réponse apportée : Aquatris le 23 Août 2018
Is there any way to feed timeseries data available in matlab workspace to parameter present in model.
Problem Statement: - I want to update parameter loaded in workspace at every iteration till stop time.
[[For variables / signals we can do it at root level using configuration settings and simulink data objects]]

Réponses (1)

Aquatris
Aquatris le 23 Août 2018
One way is to define the parameter as a signal (if the parameter is in the gain inside a gain block, change the gain block to product block and make one of the inputs the parameter). Then use From Workspace block to feed the "parameter" in to the product block. If the parameter is used in more complex operations, Matlab Function block can also be used.

Catégories

En savoir plus sur Prepare Model Inputs and Outputs dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by