To import data in Simulink
古いコメントを表示
I have a structure like -
control(1).name='asdf'
control(1).start=12
control(1).end=15
control(2).name... .
.
.
.
control(10).name='lkjh'
control(10).start=10
control(10).end=12
I want to import this structure into simulink for computing and use the string for signal naming. However I am not able to do this using 'From workspace'. Is there any way this can be achieved?
採用された回答
その他の回答 (1 件)
Azzi Abdelmalek
2012 年 11 月 16 日
0 投票
What do you mean by import to Simulink? Instead, tell us what do you want to do with these data. Because if you want to use these data in simulink, you will do it in Matlab command or a m-file, using commands like set_param
カテゴリ
ヘルプ センター および File Exchange で Sources についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!