How to supress Excel warning or alerts using MATLAB?

조회 수: 7 (최근 30일)
Anurag Agrawal
Anurag Agrawal 2020년 6월 19일
답변: Anurag Agrawal 2020년 6월 19일
How to supress Excel warning or alerts using MATLAB?

채택된 답변

Anurag Agrawal
Anurag Agrawal 2020년 6월 19일
You can supress excel alerts/warnings using this command:
e = actxserver('Excel.Application');
set(e, 'DisplayAlerts', 0);
This will supress all the warings. So, if you want to start warning messages again after some point, use this:
set(e, 'DisplayAlerts', 1);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by