How to feed timeseries data to parameter

3 ビュー (過去 30 日間)
pratik bhadange
pratik bhadange 2018 年 8 月 22 日
回答済み: Aquatris 2018 年 8 月 23 日
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]]

回答 (1 件)

Aquatris
Aquatris 2018 年 8 月 23 日
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.

カテゴリ

Help Center および File ExchangeLoad Signal Data for Simulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by