why i am getting error while using editable text in guide?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
AJAY R
el 12 de Jun. de 2020
Comentada: AJAY R
el 16 de Jun. de 2020
Error using uicontrol
Too many input arguments.
Error in msgbox (line 253)
OKHandle=uicontrol(figureHandle , ...
Error in errordlg (line 59)
handle = msgbox(ErrorStringCell,dlgName,'error',replace);
Error in guidefunc>showErrorDialog (line 3955)
h = errordlg(e.getReport(), getDialogTitle());
Error in guidefunc (line 165)
showErrorDialog(me ,'Unhandled internal error in guidefunc');
com.mathworks.jmi.MatlabException: Too many input arguments.
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:273)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFevalConsoleOutput(Matlab.java:1843)
at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:195)
at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:172)
at com.mathworks.toolbox.matlab.guide.utils.LayoutWorker.runOnMatlabThread(LayoutWorker.java:51)
at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
3 comentarios
Adam Danz
el 15 de Jun. de 2020
"Error using uicontrol"
I don't a reference to uicontrol anywhere in the code you shared.
Is msgbox() the name of a file or are you using Matlab's builtin function msgbox()?
Respuesta aceptada
Geoff Hayes
el 15 de Jun. de 2020
Ajay - look closely at the results from which uicontrol --all:
C:\Users\ajayr\Documents\MATLAB\uicontrol.m
built-in ...... % shadowed
So you have written your own (?) uicontrol function that is shadowing the built-in one. Please remove the file C:\Users\ajayr\Documents\MATLAB\uicontrol.m and try running your code again. (You will probably want to restart MATLAB after removing the file.)
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!