How to Import a .mat file in simulink ???

we can import a .mat file in matlab code just by using load data.mat , but how to import the mat file in simulink?

답변 (2개)

Kaustubha Govind
Kaustubha Govind 2012년 2월 24일

0 개 추천

You can use the From File block. Please pay attention to the section in the documentation page about the format that the data must be stored in. One important requirement is the need to represent the time dimension in your data.
Sean de Wolski
Sean de Wolski 2012년 2월 24일

0 개 추천

You could also run a script that loads the file in one of the model callbacks.

카테고리

질문:

2012년 2월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by