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:
uiputfile equivalent

Subject: uiputfile equivalent

From: Leah

Date: 28 Nov, 2012 17:22:16

Message: 1 of 2

I am doing some image processing and creating a long list of matrices that I need to be able to export as .csv files. Currently I am using uiputfile for all of them but it is cumbersome for the user to keep hitting save. Is there a way to suppress the popup after the first matrix variable has been saved in the folder and automatically save the rest of the variables to that same folder? Any help is greatly appreciated!

Subject: uiputfile equivalent

From: Justin Ashmall

Date: 28 Nov, 2012 17:59:12

Message: 2 of 2

"Leah " <lnunez@clemson.edu> wrote in message <k95h88$5uj$1@newscl01ah.mathworks.com>...
> I am doing some image processing and creating a long list of matrices that I need to be able to export as .csv files. Currently I am using uiputfile for all of them but it is cumbersome for the user to keep hitting save. Is there a way to suppress the popup after the first matrix variable has been saved in the folder and automatically save the rest of the variables to that same folder? Any help is greatly appreciated!

Without you posting some code to show what you're doing, it's tricky to say.

But it sounds to me like you could use uigetdir to select a directory once, then loop thorough the matrices, and for each build an individual filename and save?

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