how to import a .mat file into simulink model
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
i'm now doing a project on simulink, i had a technical problem and require some help,
my problem is i created a IGBT model on simulink and it has some parameters at mask editor.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/251001/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/251001/image.png)
the red circle is the parameter i want to change the left one is the model.
and i already wrote a new type description on matlab and runned it to created a new workplaces value. and saved in a new .mat file
how do i import the new mat file to the simulink model to enter a new description in the "Popups" window, ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/251002/image.png)
this is the new description i worte at matlab,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/251003/image.png)
this is the new workspace value the third one is the one i wanna added to simulink model's IGBT type window
how can i do it?
thankyou so much.
allen.
0 Kommentare
Antworten (1)
Swastik Sanjay Chaudhury
am 3 Jan. 2020
Hello LIN,
I may not have correctly realized the issue form the above description, but regarding you case to import data from a .mat file in Simulink, you could try using From File Block. Description is as mentioned below.
Regards,
Swastik Sanjay Chaudhury
0 Kommentare
Siehe auch
Kategorien
Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!