Azzera filtri
Azzera filtri

How to feed timeseries data to parameter

2 visualizzazioni (ultimi 30 giorni)
pratik bhadange
pratik bhadange il 22 Ago 2018
Risposto: Aquatris il 23 Ago 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]]

Risposte (1)

Aquatris
Aquatris il 23 Ago 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.

Categorie

Scopri di più su Load Signal Data for Simulation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by