Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when I run the code these errors appear and I donot know the solution

Error using load
Unable to read file 'robo_ctrl_panel.fig'. No such file or directory.

Error in matlab.graphics.internal.figfile.FigFile/read (line 31)
hgDataVars = load(filename, '-mat', '-regexp', '^hg[M]');

Error in matlab.graphics.internal.figfile.FigFile

Error in hgload (line 50)
FF = matlab.graphics.internal.figfile.FigFile(filename);

Error in matlab.hg.internal.openfigLegacy (line 57)
[fig, savedvisible] = hgload(filename, struct('Visible','off'));

Error in gui_mainfcn>local_openfig (line 286)
gui_hFigure = matlab.hg.internal.openfigLegacy(name, singleton, visible);

Error in gui_mainfcn (line 158)
gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt, gui_Visible);

Error in robo_ctrl_panel (line 42)
gui_mainfcn(gui_State, varargin{:});

What I have tried:

I tried the code that I had downloaded of MathWorks but there was a problem with the code
Posted
Updated 20-Apr-19 5:35am
Comments
Dave Kreskowiak 20-Apr-19 1:06am    
You're going to have to describe a specific problem you're having. We're not here to write your code for you.
Richard MacCutchan 20-Apr-19 5:33am    
Go back to MathWorks, and ask the person who posted the code that you have downloaded.

1 solution

It looks like a set of cascading errors all due to a missing file:

Quote:
Unable to read file 'robo_ctrl_panel.fig'. No such file or directory.


Gui for controlling robot in matlab | download free open source Matlab toolbox, matlab code, matlab source code[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900