Error using vrnode/setfield (line 35). Invalid value for field "whichChoice" of type SFInt32.

1 view (last 30 days)
Hi,
I am changing the whichChoice characteristic of a node in 3D World Editor using Matlab by using: setfield(Switch1,'whichChoice','0'); but I get the error "Invalid value for field "whichChoice" of type SFInt32."
If I get the value of the field "whichChoice" I get it without any problem but I am not able to set it, any ideas?
Thank you very much.
Kind regards,
Blanca

Answers (0)

Community Treasure Hunt

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

Start Hunting!