jlrunfile
Run Julia file from Nelson.
jlrunfile(filename input)
outvars = jlrunfile(filename, outputs)
outvars = jlrunfile(filename, outputs, jlName, jlValue, ...)
filename - a string scalar, character vector: filename .jl to run.
"filename 'input'" - a string scalar, character vector: filename .jl to run with input arguments.
jlName, jlValue - Input arguments name and value
outputs - string array: Julia variable names.
📤 Output argument
outvars - 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
jlrunfile from Nelson
jlrun, jlenv, Julia types supported.
Last updated