Why the first number is not displayed? [SIMULINK]
1 次查看(过去 30 天)
显示 更早的评论

Even if the variable block is connected to the workspace block the first value is not stored, why?
2 个评论
Fangjun Jiang
2019-3-7
Note that the source block in the picture is FromWorkspace block, not a Constant block.
采纳的回答
Fangjun Jiang
2019-3-6
For matrix formats, each row of the matrix has a time stamp in the first column and a vector containing the corresponding data sample in the subsequent column(s).
2 个评论
Fangjun Jiang
2019-3-6
You are using FromWorkspace block and specify the data as a row vector (or 1xn matrix). By definition, the data in the first column is time. Try
x=[0.1, 1:10;]
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!