I figured it out. If anyone wants to know - just use a constant block instead of "from workspace" block. I dont know why this is like that but it is.
Simulink ignores the first value
7 ビュー (過去 30 日間)
古いコメントを表示
I would like to display all the elements of an array I created in the workspace into the display block in simulink , but the first element does not show up. How can I fix that?
0 件のコメント
回答 (1 件)
Alexander Guillen
2023 年 4 月 5 日
1 件のコメント
Walter Roberson
2023 年 4 月 5 日
When you use From Workspace, then the first column of the array (or vector) is treated as being the time that the sample is to be presented to the model.
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!