Mat file to simulink
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I have a question regarding import of mat file into simulink inport. I have 5 inports that contain different data from the mat file. But I am currently stuck as I am not sure how I can segregate the specific data to specific inports. I tried to use the xlsread command then manually appoint it to the inports, but there is no results. I really appreciate if you would guide me through this.
Best Regards Rafhana
0 件のコメント
採用された回答
Ilham Hardy
2015 年 11 月 25 日
It should be simple,
Usually the mat file contains variables (for the simulation). Just use constant block with for each input port labeled with the desired/specific variable name.
However i might misunderstood your question, why do you use xlsread?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Prepare Model Inputs and Outputs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!