help-octave
[Top][All Lists]
Advanced

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

Message Id for undefined function


From: Juan Pablo Carbajal
Subject: Message Id for undefined function
Date: Fri, 22 Jun 2012 17:26:59 +0200

Hi all,

I just realized that there is no message ID when a function is not
found in the current path. Example

octave:184> my_function_loca  % This function doesn't exist
error: `my_function_loca' undefined near line 184 column 1
octave:184> [msg id] = lasterr
msg = `my_function_loca' undefined near line 184 column 1
id =

I am trying to write a try-catch block that catches that error. What can I do?

Thanks

-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/


reply via email to

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