transplant
transplant copied to clipboard
Gettting output from MATLAB scripts rather than functions.
How do I get the output from a script similar to this, which uses the Matlab Engine?
I would also be helpful if I can understand how to change the path so that I can access matlab files in a different directory from my python file. I tried adding the path through sys, but it didn't work.
Thank you.
You can call scripts and read global variables afterwards. But that is bad style. Use functions.
Access files in other directories just like you would in Matlab, using cd
.