Thread Subject: GUI simple help

Subject: GUI simple help

From: desi agarwal

Date: 19 Mar, 2010 03:33:02

Message: 1 of 1

I am new at GUI and I am using the guide to create my GUI and the code that comes along with it. I need help with two things:

1) Once in the edit text area, I want to clear the contents I tried this

set(handles.transcripton_input, 'String',' ')
But it creates those ' ' if the string is small, how can I take care of that.

2)

tran = get(hObject,'String')

i want to store this string as a cell array and append it

i know this works by doing this:

samp = [];
samp = [samp; {'some string'}]

and so on but how can I do that with the input string. where eveery time user enters it stores like a cell in tran.

Thanks alot for anyones help/input!

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
gui help desi agarwal 18 Mar, 2010 23:34:08
rssFeed for this Thread

Contact us at files@mathworks.com