Issue : running MatLab code via Script Package


#1

I’m using the script package, and when I run a matlab script I wrote on Atom using the keybinding Ctrl - Shift - B the MatLab Command Window shows up but disappears way too fast, I wish someone can help me making it last longer, or even better, making it last as long as I decide (like when I compile a .c script which asks to press a button to close it)


#2

What happens if you insert a line that contains the following content at the end of your document?

pause

I don’t know MATLAB at all, but based on this documentation and my knowledge of how output windows generally function, I suspect that will work.


#3

you’re god, thank you so much


#4

No problem. :slight_smile: