MATLAB Answers

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

12 views (last 30 days)
민우 남
민우 남 on 17 Apr 2021 at 5:20
Commented: 민우 남 on 17 Apr 2021 at 15:00
  • 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)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!