Clear Filters
Clear Filters

uiwait, msgbox, listdlg are not working properly in Matlab 2013a with Windows 7

3 views (last 30 days)
I have recently started using the Matlab 2013a with Windows 7. I have observed that some of the basic matlab functionalities are not working as expected, even with the examples in the documentation.
uiwait is completely stopped working, i need to use the waitfor function for some of the things -
UI Wait :
Error using set
Too many input arguments.
Error in uiwait (line 71)
set (hFigDlg, 'Visible', 'on', 'WaitStatus', 'waiting');
listdlg is popup and closes immediately, without waiting for the user inputs.
Plot Example:
x = -pi:0.1:pi;
y = sin(x);
title('Sine Function')
Error using set
Too many input arguments.
Error in title (line 47)
set(h, 'FontAngle', get(ax, 'FontAngle'), ...
Error in title (line 23)
h = title(gca,varargin{:});
Is any thing supported software need to install, like vc_*.exe or any java version..?

Accepted Answer

Walter Roberson
Walter Roberson on 4 Aug 2020
What shows up for
which -all set
In particular you should be interested in anything that is not marked as a java method or built-in method, and which is not underneath a directory that starts with an @
Probably the item of interest will be the first one on the list.
My hypothesis is that you will find that you have a third party toolbox set.m early on your path.
  1 Comment
Kanchibhotla Chandra Sekhar
Perfect, I have written a function "set" as undefined function which is also a standard function. I have figured it out while in process of debugging.
Thanks a lot, i helped to analysis in easiest way.
Now i have changed and it is working fine. Thank you.

Sign in to comment.

More Answers (0)


Find more on Interactive Control and Callbacks in Help Center and File Exchange





Community Treasure Hunt

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

Start Hunting!