Using an external script/function in simulink "matlab function block"
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Netanel Sandman
am 16 Nov. 2020
Kommentiert: Jon
am 16 Nov. 2020
Hi,
i'm designing a simulation in simulink envolving thermodynamics.
I'm trying to find a way to insert a block which recieves a temperature and return a Linearly interpolated value of another parameter (density for instance) from an csv file.
I was trying to load the csv file as collumn vectors and it works fine outside the simulink function block. But trying to use the custom script inside the function block results always in errors.
is there any way to solve it or maybe an easier way to interpolate the values?
bear in mind that the input values change from iteration to iteration so this is why I need to interpolate it frequentlyy.
Many Thanks,
Netanel Sandman
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Thermal Analysis 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!