How to insert another matlab script as input into another matlab function file

First, I have created a script, which had a set of equations, the results of which are to be used in another function. Then I created a function in another matlab file, which is a set of a few non-linear equations that are supposed to take inputs from the script. Is there any command that can insert the previous script file into the function file so that the function uses its outputs to run?
[merged from duplicate]
I have created a script with a few equations in it. Thereafter I have created a function file, which needs to get input/ which has to be connected to the script. Could you kindly let me know how I can connect the function file with the script? For example goto and call commands in Fortran.

Answers (0)

Categories

Asked:

on 31 May 2018

Edited:

on 1 Jun 2018

Community Treasure Hunt

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

Start Hunting!