I am trying to call a MATLAB function from Julia but I am getting the error below. There is something wrong with the way that I am setting up the quotes.
In the context of my problem below, I don’t know how to interpret the following message:
special characters "#{}()[]<>|&*?~;" must be quoted in commands
Could someone help me to find out what is happening ?
run(`$matlabExec -nodesktop -nodisplay -r 'MyMatlabCode()';exit()`)
ERROR: LoadError: parsing command `$matlabExec -nodesktop -nodisplay -r 'MyMatlabCode()';exit()`: special characters "#{}()[]<>|&*?~;"
must be quoted in commands
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] shell_parse(::String, ::Bool; special::String) at .\shell.jl:100
[3] @cmd(::LineNumberNode, ::Module, ::Any) at .\cmd.jl:389
in expression starting at none:1