필터 지우기
필터 지우기

Deactivating "Open Files when Debugging"

조회 수: 1 (최근 30일)
Vahid
Vahid 2011년 10월 24일
hello there,
I have developed a matlab code for the use in our lab. The problem I have is when the user does not enter the correct entries, matlab debugging system automatically is opened for the user (because Debug > Open Files when Debugging from the Editor toolbar is active in the user's matlab application.) and the user sometimes changes the opened code by mistake! I am wondering whether there is a way to deactivate the "Open Files when Debugging" from matlab Command line/.m function as if I disable "Open Files when Debugging" when my code is run?
Thanks in advance,

답변 (1개)

Walter Roberson
Walter Roberson 2011년 10월 24일
The appropriate fix for this would seem to be to do validation on the user input before using it. Or at the very least to put in try/catch blocks to smoothly contain and control the error process.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by