jdelacroix / simiam

A MATLAB-based educational bridge between theory and practice in robotics.
http://gritslab.gatech.edu/projects/robot-simulator
Other
104 stars 52 forks source link

Error in Matlab R2020a, not Graphics? #37

Open adumont opened 4 years ago

adumont commented 4 years ago

I have cloned the repo, and opened it in Matlab R2020a. I'm getting this output when running launch:

>> launch
Error using getappdata
Value must be a handle.

Error in GridLayout/Update (line 282)
            OldPosition = getappdata(Obj.Container,'Position');

Error in GridLayout>@(hsrc,ev)Update(Obj,true) (line 72)
                'ResizeFcn', @(hsrc,ev)Update(Obj,true), ...

Error using GridLayout (line 70)
Error while evaluating UIContainer SizeChangedFcn.

Warning: The JavaFrame figure property will be removed in a future release. For more information
see UI Alternatives for MATLAB Apps on mathworks.com. 
> In findjobj/getRootPanel (line 383)
  In findjobj (line 216)
  In simiam.ui/AppWindow/create_layout (line 140)
  In simiam.ui/AppWindow/load_ui (line 72)
  In launch (line 20) 
Warning: The JavaFrame figure property will be removed in a future release. For more information
see UI Alternatives for MATLAB Apps on mathworks.com. 
> In findjobj/getRootPanel (line 383)
  In findjobj (line 216)
  In simiam.ui/AppWindow/create_layout (line 183)
  In simiam.ui/AppWindow/load_ui (line 72)
  In launch (line 20) 
Warning: The JavaFrame figure property will be removed in a future release. For more information
see UI Alternatives for MATLAB Apps on mathworks.com. 
> In findjobj/getRootPanel (line 383)
  In findjobj (line 216)
  In simiam.ui/AppWindow/create_layout (line 190)
  In simiam.ui/AppWindow/load_ui (line 72)
  In launch (line 20) 
Warning: The JavaFrame figure property will be removed in a future release. For more information
see UI Alternatives for MATLAB Apps on mathworks.com. 
> In findjobj/getRootPanel (line 383)
  In findjobj (line 216)
  In simiam.ui/AppWindow/create_layout (line 195)
  In simiam.ui/AppWindow/load_ui (line 72)
  In launch (line 20) 
Warning: The JavaFrame figure property will be removed in a future release. For more
information see UI Alternatives for MATLAB Apps on mathworks.com. 
> In simiam.ui/AppWindow/create_layout (line 211)
  In simiam.ui/AppWindow/load_ui (line 72)
  In launch (line 20) 
Unrecognized function or variable 'fHG1Client'.

Error in simiam.ui.AppWindow/create_layout (line 212)
            jClient = jFrame.fHG1Client;

Error in simiam.ui.AppWindow/load_ui (line 72)
            obj.create_layout();

Error in launch (line 20)
app.load_ui();

>> 

The window opens, but no graphics are displayed.

This is how it looks:

image

Any help?

adumont commented 4 years ago

Same as https://github.com/jdelacroix/simiam/issues/24