how to import a .mat file into simulink model

2 visualizaciones (últimos 30 días)
chenyue LIN
chenyue LIN el 28 de Nov. de 2019
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.

Respuestas (1)

Swastik Sanjay Chaudhury
Swastik Sanjay Chaudhury el 3 de En. de 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

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by