How can i load mat file in simulink ?
2 views (last 30 days)
Show older comments
stuti chug
on 30 Jul 2019
Answered: Abhilash Padma
on 2 Aug 2019
I try to load mat file (matrix data) in simulink by using from file block but it only retrieve one column.
0 Comments
Accepted Answer
Abhilash Padma
on 2 Aug 2019
I guess your format of matrix in .mat file is wrong. In the matrix, the time stamps should be in first row and the data with respect to each time stamp should start from second row.
Refer the following link for more information: https://www.mathworks.com/help/simulink/ug/load-data-using-the-from-file-block.html#bu2vguv
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!