Error using inputdlg: dialogs disabled

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 日

0 投票

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

カテゴリ

タグ

質問済み:

2020 年 11 月 25 日

回答済み:

2020 年 11 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by