<< jlrun | Julia engine | Julia Nelson types >> |
jlrunfile(filename) |
jlrunfile(filename input) |
outvars = jlrunfile(filename, outputs) |
outvars = jlrunfile(filename, outputs, jlName, jlValue, ...) |
a string scalar, character vector: filename .jl to run.
a string scalar, character vector: filename .jl to run with input arguments.
Input arguments name and value
string array: Julia variable names.
One or more Nelson workspace variable names returned as valid Julia types.
jlrunfile(filenam) function executes Julia file.
As the jlrun function, variables generated in the Julia workspace through the jlrunfile function do persist.
The code outvars = jlrunfile(file, outputs, jlName1, jlValue2, ..., jlNameN, jlValueN) executes the code with one or more name-value pair arguments.
jlrunfile_example_1.jl
content = "hello Nelson"
display(content)
jlrunfile from Nelson
jlrunfile('jlrunfile_example_1.jl')
jlrun, jlenv, Julia types supported.
Version | Description |
---|---|
1.12.0 | initial version |
Allan CORNET