MATLAB Answers

how to import a .mat file into simulink model

2 views (last 30 days)
chenyue LIN
chenyue LIN on 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.

  0 Comments

Sign in to comment.

Answers (1)

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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!