Hello, everybody!
This is my question.
I am working on plots with ticks labels in date format.
I converted the data into Matlab's serial date format (using datenum), and then I converted the serial dates into a 'month/day' format using datestr using...
for example;
If I do:
[name path]=uigetfile;
fname=[path name];
load(fname)
I get to load the file under the name I specify in the dialog window which pops up after uigetfile (e.g. try.dat)
So, since now fname='c:\...\try.dat'
Any time I try to do something with fname I am referred to the...
Hi Lewish,
Actually it gets to load the file, but when you ask for example how many columns or rows does the matrix have (using the name assigned in the uigetfile command), it gives you the size of the string used to name te matrix.
see you
Hi Lewish,
Well, the version I am using is 5.0.
the file I put as an example was also generated with Matlab. And there is nothing unusual in that file.
Even more, I have tried with many files which otherwise work perfectly with matlab.
The only thing I can't do is giving the name of a file to be...
Hi Lewish,
Thanks for your interest.
Actually, the file used for the example above is quite simple.
copruebax is a vector of length=6000
and its first 10 elements are:
-3.0280
-11.0031
2.1686
3.8995
-5.6043
11.2166
11.5737
3.2546
5.9693
4.9490
I can't think of...
thanks a lot but I've tried that and see what I get:
[name path]=uigetfile
name =
copruebax
path =
C:\series
» xxx=load(name);
??? Error using ==> load
Too many output arguments.
Hi there,
I know this may be a trivial question, but I am having trouble solving this.
I need to enter a file name from keyboard while matlab is running a script. I have been trying CASEREAD, UIGETFILE and others similar.
I can enter the name correctly, but under the assigned name it is...