help-octave
[Top][All Lists]
Advanced

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

how to test empty struct?


From: Eric Chassande-Mottin
Subject: how to test empty struct?
Date: Thu, 28 Oct 2010 13:31:05 -0700 (PDT)


hi,

how does one test that a structure array is empty?
it does not seem possible with the usual function
for vectors.

a=struct; length(a), isempty(a)
ans =  1
ans = 0

cheers, eric
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/how-to-test-empty-struct-tp3018065p3018065.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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