Matlab function exist()

99 views
Skip to first unread message

Peter

unread,
Apr 16, 2014, 1:40:27 AM4/16/14
to julia...@googlegroups.com
  Is there an equivalent for the Matlab function exist() which checks for the existence of variables, functions, etc?

Avik Sengupta

unread,
Apr 16, 2014, 2:04:55 AM4/16/14
to julia...@googlegroups.com
There is "isdefined" , which may be what you need. 


eg: isdefined(Main, :x)
Reply all
Reply to author
Forward
0 new messages