Borrar filtros
Borrar filtros

Plot graphic from some variables in MAT File?

1 visualización (últimos 30 días)
Indri Djon Hansemit
Indri Djon Hansemit el 6 de Sept. de 2013
Help me !
I use MAT File to save variables in form A. The variables are a,b,c, and month. In form B, I want to plot graphic based on combobox month, and I only want to plot variable a and c into graphic. There are 40 MAT File.
Variable a is int.
variable c is int.
Really need help.

Respuestas (1)

Image Analyst
Image Analyst el 6 de Sept. de 2013
See the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F. Then use load() followed by plot(), surf(), bar(), pie(), or whatever other function you want to plot your graphic with.
To communicate between two separate GUIs/Forms see http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F, though it's a lot easier if you just have one GUI.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by