From: Doug Schwarz on 20 May 2010 23:26 [top posting repaired] In article <ht3skm$fj1$1(a)fred.mathworks.com>, "Brandon Cochenour" <bcochen.removethis(a)nscu.edu> wrote: > Doug Schwarz <see(a)sig.for.address.edu> wrote in message > <bseJn.13596$h57.11781(a)newsfe22.iad>... > > Brandon Cochenour wrote: > > [snip] > > > > > If you do length(data), you get the error message, "Subscript indicies > > > must either be real positive integers or logicals". > > > > You get this error message because you have defined a variable called > > "length" in your workspace and MATLAB is attempting to index into it > > with the variable "data". It is not trying to run the length function. > > You need to remove this variable. > > > > You also might find the *third* output variable from xlsread to be > > useful. Read the help info. > > What a bonehead mistake. Indeed...I did let myself define a variable > "length". I know better! > > Boy...I wrote an epic post for all of that.... > > Regarding your second item...according to the Help...the "raw" output > variable is not available on Mac (see COM Server Requirements). But it is! I had to wait until I got home to try it. I just did and the third output argument works fine. -- Doug Schwarz dmschwarz&ieee,org Make obvious changes to get real email address.
First
|
Prev
|
Pages: 1 2 Prev: Poisson (Distribution) Parameter Next: Dotted line between points while using ginput? |