Error using inputdlg: dialogs disabled

6 visualizaciones (últimos 30 días)
CompNsci
CompNsci el 25 de Nov. de 2020
Respondida: Steven Lord el 25 de Nov. de 2020
Hello,
Anytime I try to use a toolbox designed for MATLAB that has input dialogs, I get the following error. I am running Mac OS 10.15.7 using MATLAB 2019b. I have no idea how to get around it and haven't seen anyone reproduce the issue online. Thank you!
Error using inputdlg (line 2)
dialogs disabled.

Respuestas (1)

Steven Lord
Steven Lord el 25 de Nov. de 2020
Line 2 of the inputdlg function included in MATLAB is a comment describing the function. Therefore you have written or downloaded an inputdlg.m file that is taking precedence over the function in MATLAB. Use this command to identify that inputdlg.m and rename or remove it. Leave the one in the toolbox/matlab/uitools directory under matlabroot alone.
which -all inputdlg

Categorías

Más información sobre Startup and Shutdown 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