run-matlab-command (with optional timeout=>success)