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

1 次查看(过去 30 天)
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?

采纳的回答

Image Analyst
Image Analyst 2013-3-27
This is discussed in the FAQ

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by