Plot graphic from some variables in MAT File?

1 次查看(过去 30 天)
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.

回答(1 个)

Image Analyst
Image Analyst 2013-9-6
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.

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by