How to use external function(m file) in a Simulink?

  • I have a m file which can calculate enthalpy using pressure[MPa] and temeprature[K]
Source : https://kr.mathworks.com/matlabcentral/fileexchange/35710-iapws_if97?s_tid=srchtitle
  • And I want to use it in Simulink
Input : Pressure, Temperature / Output : Enthalpy
If I want to use m file in simulink, which block I must use?

More Answers (0)

Categories

Products

Release

R2020b

Community Treasure Hunt

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

Start Hunting!