help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

size(foo), `foo' not being a matrix


From: John W. Eaton
Subject: size(foo), `foo' not being a matrix
Date: Fri, 14 Sep 2007 13:37:01 -0400

On 14-Sep-2007, GAIL wrote:

| Let foo.m be the simple function file
| 
| ###  foo.m
| disp("What's this?")
| ###
| 
| If foo is not a matrix, issuing size(foo) in the directory of foo.m gives
| 
| ------------
| octave:1> size(foo)
| What's this?
| ans =
| 
|   -1  -1
| octave:2> 
| ------------
| 
| The same applies to other functions such as numel. I don't think that's 
meaningful.

Are you reporting a bug?  If so, please use the address@hidden list
and follow the bug reporting guidelines found here:
http://www.octave.org/bugs.html

Thanks,

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]