Question on access to AppDesigner

I've written an app to control the Trossen Robotics Arm Pincher. It is initialized by this command: arb = Arbotix('port','/dev/tty.usbserial-AI05UU3S','nservos',5) This creates a variable in the workspace arb that has specific properties methods etc. Doesn't work in App Designer. Whole program hangs.

4 Comments

Are you setting it to be a property (that you've added) of the app?
properties
arb
end
Whatever call back creates it:
app.arb = Arbotix(...)
Thank you I will try this
I tried it and nowit does not lock up, but when I have another action like app.arb.setpos(1,pi/2,10) it does nothing. When I run the same commands in the command window they work!
I'd have to recommend following standard debugging procedures. Put a breakpoint on that line and step into it.

Sign in to comment.

Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Asked:

on 5 Jan 2018

Commented:

on 8 Jan 2018

Community Treasure Hunt

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

Start Hunting!