Thanks a lot Mr.Dimitris Kalogiros. I tried both options, option (a)from workspace is a partial success as in it displays only 200 array values of my 240 array and has not displayed the very first value also. when I tried the option (B) simulink is not loading data view version 7. I changed the version but then it says that array has to be two dimensional or timeseries. How to solve this?. regards
How to provide Matlab output(stream of 1s and 0s) as input to SIMULINK and view via a scope?Am new to Simulink
4 ビュー (過去 30 日間)
古いコメントを表示
prithish chand
2018 年 8 月 9 日
コメント済み: prithish chand
2018 年 8 月 10 日
Working on a data packet. I have retrieved the packet via matlab code. Its a stream of 1 and 0s.I have to build a model in SIMULINK for that I need to provide these data as input to SIMULINK model. How could I do that and how can i veriffy it visually.Request assistance
採用された回答
Dimitris Kalogiros
2018 年 8 月 9 日
編集済み: Dimitris Kalogiros
2018 年 8 月 9 日
You have two optons:
1) load your data directly from workspace into simulink, using "From Workspace" block
2) save your data into a mat-file and then use "From File" block
Both of these block are located inside standard Simulink library called "Sources"

For viewing your data , you can run the model and use a scope block.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Event Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!