data stored in workspace

1 回表示 (過去 30 日間)
andoni
andoni 2011 年 5 月 18 日
Hi, i have a 5x70 matrix in my workspace, the first row is the time and the others represent four bits. I want to read the data of the four bits but from one FromWorkspace block. (Block FromWorkspace)---data1 ---data2 ---data3 ---data4 How can i do it?

採用された回答

Arnaud Miege
Arnaud Miege 2011 年 5 月 18 日
If you look at the documentation for the From Workspace block, you'll see that when using a two-dimensional matrix, the first column is time, and the subsequent columns the data. You therefore need to parameterize the block with the transpose of your matrix.
HTH,
Arnaud

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by