GUI Startup Problem "guide"

2 views (last 30 days)
alo sabaar
alo sabaar on 7 Feb 2016
Edited: alo sabaar on 7 Feb 2016
Hi everyone,
I have a problem on startup with GUI. I was encountered by the following message after type "guide"
>> guide
Error: File: guidefunc.m Line: 172 Column: 1
Function definitions are not permitted in this context.
Error in guide (line 133)
result = LayoutEditor.openLayoutEditor(filename);
Error in guidetemplate/processDialogResult (line 184)
guide(destfigfile);
Error in guidetemplate/dialogCallback (line 103)
processDialogResult(quickstartpanel);
com.mathworks.jmi.MatlabException: Error: File: guidefunc.m Line: 172 Column: 1
Function definitions are not permitted in this context.
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFevalConsoleOutput(Matlab.java:1690)
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)
at com.mathworks.jmi.MatlabWorker.start(MatlabWorker.java:248)
at com.mathworks.toolbox.matlab.guide.utils.LayoutWorker.start(LayoutWorker.java:70)
at com.mathworks.toolbox.matlab.guide.utils.LayoutWorker.fevalConsoleOutput(LayoutWorker.java:41)
at com.mathworks.toolbox.matlab.guide.LayoutLooper.readFigure(LayoutLooper.java:711)
at com.mathworks.toolbox.matlab.guide.LayoutEditor.openLayoutEditor(LayoutEditor.java:2014)
at com.mathworks.toolbox.matlab.guide.LayoutEditor.openLayoutEditor(LayoutEditor.java:1977)
Thanks for the future help and answer.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!