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:
Save Text from GUI Edit Text Box

Subject: Save Text from GUI Edit Text Box

From: Kyle

Date: 20 Jul, 2012 19:22:21

Message: 1 of 2

Hi there!

I'm very new to MatLab, this is probably very easy to do - please, if you can, give me very explicit instructions.

I'm creating a GUI in GUIDE that has a editable text box. I want a button that, when clicked, will write that text to a text file (in this case, directory.txt).

If there is a way to browse for a directory and input the directory into the text box in the GUI, that would be way awesome, but it's not a priority. Thanks very much everybody!

Subject: Save Text from GUI Edit Text Box

From: Rabia Butt

Date: 25 Jul, 2012 07:54:30

Message: 2 of 2

"Kyle " <kylebshr@gmail.com> wrote in message <jucb5d$s0b$1@newscl01ah.mathworks.com>...
> Hi there!
>
> I'm very new to MatLab, this is probably very easy to do - please, if you can, give me very explicit instructions.
>
> I'm creating a GUI in GUIDE that has a editable text box. I want a button that, when clicked, will write that text to a text file (in this case, directory.txt).
>
> If there is a way to browse for a directory and input the directory into the text box in the GUI, that would be way awesome, but it's not a priority. Thanks very much everybody!


Kyle...did you get the answer! if yes, then , please tell me too!
thanks in advance!

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