jlrunfile(filename)
jlrunfile(filename input)
outvars = jlrunfile(filename, outputs)
outvars = jlrunfile(filename, outputs, jlName, jlValue, ...)
| Parameter | Description |
|---|---|
| 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. |
| Parameter | Description |
|---|---|
| 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.
content = "hello Nelson"
display(content)
jlrunfile('jlrunfile_example_1.jl')
| Version | Description |
|---|---|
| 1.12.0 | initial version |