Clear Filters
Clear Filters

Call for value of a variable in one mfile to another mfile

1 view (last 30 days)
I have a mfile named motor_model.m. I have another mfile named controller.m where I am calling motor_model.m in the first line. Now the output of motor_model.m is the steady state current which is stored in a vatiable named I_steadystate whose value needs to be called in controller.m. Could you give me the code as to how I can do this?

Accepted Answer

Image Analyst
Image Analyst on 27 Mar 2013
This is discussed in the FAQ

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!