how to import a .mat file into simulink model

2 vues (au cours des 30 derniers jours)
chenyue LIN
chenyue LIN le 28 Nov 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.

Réponses (1)

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

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by