79792307

Date: 2025-10-16 15:14:13
Score: 1
Natty:
Report link

Add exit in -r mode

matlab_command = [
            matlab_executable, 
               "-nodesktop",
                 "r",
                 "try, myscript; catch ME, disp(ME.message); end; exit;"
            ]

process = subprocess.Popen(matlab_command)
process.wait()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abdulrasheed Kamaldeen