"ching l" <chinglnc@hotmail.com> wrote in message
<g5trc8$lv0$1@fred.mathworks.com>...
> how to write the file into different directory?
>
> the 'filename' closed before the end of the actual file name,
> which is before '%d_f'
>
>
> csvwrite('C:\(num2str(ceil(handles.value),'%d_f')), []);
>
> thanks.
Try using the uigetfile command; it brings up a browse box
where the user can select a location from.....
"Sachitha Obeysekara"
<sachitha.obeysekara@nospam.nokia.com> wrote in message
<g61gga$392$1@fred.mathworks.com>...
> "ching l" <chinglnc@hotmail.com> wrote in message
> <g5trc8$lv0$1@fred.mathworks.com>...
> > how to write the file into different directory?
> >
> > the 'filename' closed before the end of the actual file
name,
> > which is before '%d_f'
> >
> >
> > csvwrite('C:\(num2str(ceil(handles.value),'%d_f')), []);
> >
> > thanks.
>
> Try using the uigetfile command; it brings up a browse box
> where the user can select a location from.....
>
> Sach
The user who will be using this gui is not supposed to know
where the file will be saved to......
"ching l" <chinglnc@hotmail.com> wrote in message
<g61ie6$i07$1@fred.mathworks.com>...
> "Sachitha Obeysekara"
> <sachitha.obeysekara@nospam.nokia.com> wrote in message
> <g61gga$392$1@fred.mathworks.com>...
> > "ching l" <chinglnc@hotmail.com> wrote in message
> > <g5trc8$lv0$1@fred.mathworks.com>...
> > > how to write the file into different directory?
> > >
> > > the 'filename' closed before the end of the actual file
> name,
> > > which is before '%d_f'
> > >
> > >
> > > csvwrite('C:\(num2str(ceil(handles.value),'%d_f')), []);
> > >
> > > thanks.
> >
> > Try using the uigetfile command; it brings up a browse box
> > where the user can select a location from.....
> >
> > Sach
>
> The user who will be using this gui is not supposed to know
> where the file will be saved to......
>
>
>
ok, so what i'm seeing here is that you want to save to a
filename such as : "c:\2432_f" where handles.value contains
the number 2432?
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.