MATLAB: How i use example.m file to another homework.m file

matlab functionusing file matlab

I prepared a matlab file showing the thermophysical properties of the air. And i want using this file's thermophysical properties for another file. How can i do that? Please help me?

Best Answer

You can run a script using its name. If you want to run a script inside another script, just put its name in the script. So if your first script is "thermophysical.m", you can run this from your 2nd script by calling it by name: thermophysical.