Plot graphic from some variables in MAT File?
13 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Image Analyst
on 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.
0 Comments
See Also
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!