Hello.
I'm trying to change the radius of Wrapcylinder in the MATLAB interface.
I want to change the Wrapcylinder in the existing model. But, I can't bring the wrapcylinder in the model to MATLAB using Wrapcylinder class.
So it is impossible to use functions including getRadius() and setRadius().
Is there any method that can change the radius of Wrapcylinder using MATLAB?
Thank you.
Change the size of wrapobjects in Matlab
- Seungyeon Kim
- Posts: 4
- Joined: Mon Jul 20, 2015 12:11 am
Re: Change the size of wrapobjects in Matlab
Have you tried safedowncasting to the concrete type?
Code: Select all
% Safedowncast a wrap object down to the concrete class
YourWrapCylinder = WrapCylinder.safeDownCast(YourWrabObject)
% Change the radius
YourWrapCylinder.set_radius(0.05)
- Seungyeon Kim
- Posts: 4
- Joined: Mon Jul 20, 2015 12:11 am
Re: Change the size of wrapobjects in Matlab
To James Dunne
It works perfectly. Thank you so much!
It works perfectly. Thank you so much!