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

1 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by