Error using inputdlg: dialogs disabled

조회 수: 8 (최근 30일)
CompNsci
CompNsci 2020년 11월 25일
답변: Steven Lord 2020년 11월 25일
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.

답변 (1개)

Steven Lord
Steven Lord 2020년 11월 25일
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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by