Closed oletf closed 1 year ago
also related enough,
the runMatlabFile
function doesn't work on my side because Matlab's run
function in versions prior to R2018 only takes a character vector as scriptname
arg (and not a string scalar | character vector
).
As version R2023 still accepts character vector
for this native function, changing with
- let matlabCommand = `run("${relativePath}")`;
+ let matlabCommand = `run('${relativePath}')`;
shouldn't break anything in versions R2018 and after (confirmed it works on my side, but would need check on other versions just in case).
Thank you for your contribution! I have confirmed that it also works on macOS. The relevant code has been updated in version 0.4.17.
Once again, thank you for your assistance!
Hi,
The triple double quotes here seem to disturb windows cmd and the whole addpath for the
variable_info
function is never added (as well as the pwd). They might be escaped somehow.I tried just replacing the triple by simple double quotes and it works perfectly, but I don't know if it'll break anything on Unix based shells.