Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
optimize the data sets

Subject: optimize the data sets

From: wahyoe Unggul

Date: 29 May, 2011 18:30:21

Message: 1 of 3

how to set the data if the amount of data is very much
example :
button1_Callback(hObject, eventdata, handles)
[ab,ac,ad,ae,af,ag,ah,....................]=testfunction(abcd)
setappdata(handles.button1,'ab',ab)
setappdata(handles.button1,'ac',ac)
setappdata(handles.button1,'ad',ad)
setappdata(handles.button1,'ae',ae)
setappdata(handles.button1,'af',af)
setappdata(handles.button1,...........)
is there a way to minimize the setting data?
thanks
wahyoe

Subject: optimize the data sets

From: ImageAnalyst

Date: 29 May, 2011 18:38:39

Message: 2 of 3

Have testfunction() return a structure instead of dozens of separate
variables.

Subject: optimize the data sets

From: wahyoe Unggul

Date: 29 May, 2011 18:54:02

Message: 3 of 3

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <f23afd2e-8302-4e66-aa3f-f64730361555@28g2000yqu.googlegroups.com>...
> Have testfunction() return a structure instead of dozens of separate
> variables.

thanks image :)

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us