フィルターのクリア

how to define the input to the simulink from workspace as a columns?

3 ビュー (過去 30 日間)
Ahmed Fadhil Hassoney
Ahmed Fadhil Hassoney 2013 年 11 月 15 日
編集済み: The Matlab Spot 2013 年 11 月 15 日
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
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?
Ahmed Fadhil Hassoney
Ahmed Fadhil Hassoney 2013 年 11 月 15 日
yes exactly that what i ewant

サインインしてコメントする。

採用された回答

The Matlab Spot
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 件のコメント
Ahmed Fadhil Hassoney
Ahmed Fadhil Hassoney 2013 年 11 月 15 日
thanks for your help.. I just tried it I got two types of error that
Error evaluating parameter 'VariableName' in 'From Workspace'
and
Undefined function or variable "a".
actually (t) and (a) refer for what?
The Matlab Spot
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 ExchangeString についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by