Simulink using an array element for each timestep
15 ビュー (過去 30 日間)
古いコメントを表示
Hello everyone,
Hope you are all well and safe.
I wonder weather the following can be done in simulink:
I want an input bolck value to change everytimestep. This should be according to an array value.
So for example the array x = [4 5 6 7]
I want at timestep 1 in simulink a source block has a value of 4
then at timestep2 the in simulink a source block has a value of 5 , timestep3 = 6 and so on.
Is that doable in simulink ?
Please advice
Thanks
0 件のコメント
回答 (1 件)
Ameer Hamza
2020 年 4 月 23 日
Yes, it is possible. See From Workspace block: https://www.mathworks.com/help/releases/R2020a/simulink/slref/fromworkspace.html
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で General Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!