how to create a input file?

1 visualización (últimos 30 días)
Jing Lin Ng
Jing Lin Ng el 21 de Abr. de 2014
Comentada: Jing Lin Ng el 23 de Abr. de 2014
I have two function file (A & B). I would like to put all the variables that I found in function A file into an input file. That means all the variables from A function file is saved in that input file. So that B function can recall the variables from the input file. Does anyone know how to create the input file?? Million thanks.

Respuesta aceptada

Walter Roberson
Walter Roberson el 21 de Abr. de 2014
You can use save() to create a .mat file that you later load() from.
  9 comentarios
Walter Roberson
Walter Roberson el 22 de Abr. de 2014
Those techniques can be used even when you are not using callback functions.
Jing Lin Ng
Jing Lin Ng el 23 de Abr. de 2014
alright thanks for you answer!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by