- ??(+Cmd:ml_stmt) is det
- Asynchronous Matlab execution. Anything printed by Matlab code is captured
and printed to the current output of this thread (in blue).
- ???(+Expr:ml_expr(bool)) is det
- Asynchronous Matlab test. Equivalent to
bool(1)===Expr.
- ml_async(+Req, +Timeout:float, -Output:string) is det
- ml_async(+Req, +Timeout:float) is det
- Use Matlab server thread to do computation described by Req. Req can be
exec(Cmd:ml_stmt)
eval(Expr:ml_expr(A),Returns:ml_vals(A))
If the computation takes longer than Timeout seconds, Matlab is interrupted
and abort(timeout) is thrown. The computation can also be interrupted
by signalling the client thread with throw(abort(Reason)), where Reason
can be anything. If third argument Output is supplied, anything printed by
Matlab computation is captured and returned as a string.
- ml_interrupt is det
- Sends a SIGINT (interrupt) signal to the Matlab process.
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- start_matlab
- start_matlab(Arg1)
- stop_matlab
- ml_async(Arg1, Arg2)
- ===(Arg1, Arg2)
- ml_open(Arg1)
- ml_open(Arg1, Arg2)
- ml_open(Arg1, Arg2, Arg3)
- ml_close(Arg1)
- ml_exec(Arg1, Arg2)
- ml_eval(Arg1, Arg2, Arg3, Arg4)
- ml_test(Arg1, Arg2)
- ml_ws_name(Arg1, Arg2, Arg3)
- leftval(Arg1, Arg2, Arg3)
- term_mlstring(Arg1, Arg2, Arg3)
- term_texatom(Arg1, Arg2)
- wsvar(Arg1, Arg2, Arg3)
- persist_item(Arg1, Arg2)
- matbase_mat(Arg1, Arg2)
- dropmat(Arg1, Arg2)
- exportmat(Arg1, Arg2, Arg3)
- compileoptions(Arg1, Arg2)
- multiplot(Arg1, Arg2)
- mhelp(Arg1)