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

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)

Categories

Find more on Vehicle Dynamics Blockset in Help Center and File Exchange

Asked:

on 22 Jul 2020

Community Treasure Hunt

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

Start Hunting!