fabien van mook

all packages "fvm-*"

package "fvm-xm"

function file "xm_run.m"

Function xm_run(funname)
         xm_run(funname,argument1,argument2,...)
         xm_run("-targetdir",targetdir)

converts the xm-file into an m-file, and runs the latter.

The xm-file has the name [funname ".xm"] and resides in
the Octave load-path. The xm-file may contain multi-line
string literals written in the form <<<....>>>>. 
See also the help text of m-file multilinestring.m.

The m-file has the name [funname ".x"] and will be written
in the given target directory. A target directory which
is set by xm_run("-targetdir","...."), is created, is added
to the load-path, and is memorised for each following call
of xm_run(funname, ....). At default, the working directory 
is the target directory.


(c) 2026 fabien van mook

2026.08.20 release of this file within package "fvm-xm" under GNU GPLv3+