check for abort in false branch of openmatlab