The first argument must be a figure or a uipanel
The second argument must be a valid layer name
The first argument must be a figure or a uipanel
Re: The first argument must be a figure or a uipanel
p = uipanel
creates a panel in the current figure and returns the Panel object. If there is no figure available, MATLAB® calls the figure function to create one.
https://www.mathworks.com/help/matlab/ref/uipanel.html
h = figure
creates a handle to a figure.
Solution:
Use one of these methods
creates a panel in the current figure and returns the Panel object. If there is no figure available, MATLAB® calls the figure function to create one.
https://www.mathworks.com/help/matlab/ref/uipanel.html
h = figure
creates a handle to a figure.
Solution:
Use one of these methods
Who is online
Users browsing this forum: No registered users and 5 guests