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:
Open button on gui toolbar

Subject: Open button on gui toolbar

From: Valentine Oradiegwu

Date: 21 Jul, 2010 10:47:04

Message: 1 of 2

Hi Forum,

I would like to get the absolute file path information selected by a user when he clicks the Open button on the toolbar of my gui and selects a file. How do I go about this?

Cheers.

Subject: Open button on gui toolbar

From: Maxx Chatsko

Date: 21 Jul, 2010 12:54:04

Message: 2 of 2

"Valentine Oradiegwu" <obioradiegwu@yahoo.com>
> Hi Forum,
>
> I would like to get the absolute file path information selected by a user when he clicks the Open button on the toolbar of my gui and selects a file. How do I go about this?
>
> Cheers.

If the directory changes...
  variable=cd
You can then pass 'variable' or whatever you define it as to other functions.
      Maxx

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