Plot graphic from some variables in MAT File?

13 views (last 30 days)
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.

Answers (1)

Image Analyst
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.

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!