how to define the input to the simulink from workspace as a columns?
2 次查看(过去 30 天)
显示 更早的评论
I want to call signal from workspace to the simulink using "from workspace block" my input file in the workspace contain 5 columns but when I used block from workspace to call it in the simulink the simulink dont understand it as a columns,
so my question is how to upload my columns from workspace to the simulink in such a way the simulink can diagnose it as a columns?
need help plz
2 个评论
The Matlab Spot
2013-11-15
Confirm my understanding..
- You have a variable in the workspace with 5 columns and n rows
- You want to provide individual column vectors of this variable as inputs to signals using from workspace blocks
is that right?
采纳的回答
The Matlab Spot
2013-11-15
编辑:The Matlab Spot
2013-11-15
See the implementation (attached) of the From Workspace blocks to split the matrix
2 个评论
The Matlab Spot
2013-11-15
编辑:The Matlab Spot
2013-11-15
e.g.
a = [1,2,3,4,5;6,7,8,9,10];
t = [0;1];
& do the necessary solver settings for two time steps for this test example
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!