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:
Get the name of the .mat file that I want to import from gui into the workspace

Subject: Get the name of the .mat file that I want to import from gui into the workspace

From: Teodor

Date: 12 Mar, 2010 09:31:05

Message: 1 of 2

Hello!

I have a GUI interface in which I put a button. When I push the button I am importing a .mat file using the command:

uiimport('-file')

Then I want to get somehow the name of the .mat file that I have imported, and I don't know how....
Can anyone help me with some tips?

Thanks in advance!
Alex

Subject: Get the name of the .mat file that I want to import from gui into the workspace

From: Sadik

Date: 12 Mar, 2010 11:55:08

Message: 2 of 2

Hi Teodor,

I think you had better use uigetfile.

Best.


"Teodor " <teodoralexandra@yahoo.com> wrote in message <hnd1kp$3q2$1@fred.mathworks.com>...
> Hello!
>
> I have a GUI interface in which I put a button. When I push the button I am importing a .mat file using the command:
>
> uiimport('-file')
>
> Then I want to get somehow the name of the .mat file that I have imported, and I don't know how....
> Can anyone help me with some tips?
>
> Thanks in advance!
> Alex

Tags for this Thread

No tags are associated with 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