How to supress Excel warning or alerts using MATLAB?

8 visualizaciones (últimos 30 días)
Anurag Agrawal
Anurag Agrawal el 19 de Jun. de 2020
Respondida: Anurag Agrawal el 19 de Jun. de 2020
How to supress Excel warning or alerts using MATLAB?

Respuesta aceptada

Anurag Agrawal
Anurag Agrawal el 19 de Jun. de 2020
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);

Más respuestas (0)

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by