How to feed timeseries data to parameter
3 views (last 30 days)
Show older comments
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]]
0 Comments
Answers (1)
Aquatris
on 23 Aug 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.
0 Comments
See Also
Categories
Find more on Prepare Model Inputs and Outputs 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!