-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if script include a function, will throw out error #17
Comments
@triforcely please give any suggestion? thanks |
script = string.Format("disp("Running...")\n "+ this code phrase from octave |
Hey @zj2050 . This seems to be a bug. I've reproduced it and internal response parsing logic causes Octave.NET to freeze when handling functions. I'll work on a fix, thanks for the report. |
Hi @triforcely thanks for great work, then fixed please @ |
Hi! I'm having the same problem too, I've been trying for days. Thanks in advance for the correction @triforcely ! |
I started looking into this issue and it doesn't seem to be very easy to fix. I don't have too much time to fix it at the moment, so feel free to look into it yourself, I'll be happy to merge your changes. |
It's a very bad news |
Hi,all:
I have defined a function in script, like:
disp("Running...") function result = myrand(n, t, p, d) a = 200 * t + p; big_rand = a * n; result = big_rand / 10**d; return;endfunction mrand = myrand(5379, 0, 91, 4)
the script can correct execute in octave, but when call:
octave.Execute(script)
will show error : "error: 'myrand' undefined near line 1, column 9\r\n"
how defined a function in script? thanks
The text was updated successfully, but these errors were encountered: