Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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?

Respuesta aceptada

Image Analyst
Image Analyst el 27 de Mzo. de 2013
This is discussed in the FAQ
  2 comentarios
Sreet Swastik
Sreet Swastik el 27 de Mzo. de 2013
Can you exactly show me where is it?
Image Analyst
Image Analyst el 27 de Mzo. de 2013
I did. What happened when you clicked on the link in my message? Well try again with this address: http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by