how to import a .mat file into simulink model

2 次查看(过去 30 天)
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.
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, ?
this is the new description i worte at matlab,
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.

回答(1 个)

Swastik Sanjay Chaudhury
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

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by