Plot graphic from some variables in MAT File?

12 vues (au cours des 30 derniers jours)
Indri Djon Hansemit
Indri Djon Hansemit le 6 Sep 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.

Réponses (1)

Image Analyst
Image Analyst le 6 Sep 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.

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by