help-octave
[Top][All Lists]
Advanced

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

api for running code


From: Dan Boghiu
Subject: api for running code
Date: Thu, 26 Jun 2003 15:03:59 +0300

Hi
 
I want to know if there is an API for running a piece of code without using files.
For instance, I want to evaluate the code:
 
try
a=1;
b=2;
catch
disp('invalid code');
end_try_catch
 
This code should be passed to octave as a string
eval command seems to be of no use in this case.
 
Thanks,
dan

reply via email to

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