Wednesday, January 23, 2013

How to Store Data Into AXES FIGURE USERDATA in MATLAB

A good Matlab Programmer while dealing with GUI will avoid using GLOBAL syntax to declare variables used in the program. The problem is Matlab will preserve much memory when you declare variables in each sub_callback. So one has to optimize using every properties that the control has. Usually, we use USERDATA property to store array or single data in Matlab GUI. So we can access the data anytime. But there is a case when we deal with userdata property of axes figure.This is not as usual as property of others control. So I need to write this article to help whether a reader faces the same problem

No comments:

Post a Comment

Terimakasih telah membaca artikel dalam blog ini...