MATLAB: How to set SignalBuilder options (zero-crossing) programatically

signal buildersimulink

Anyone knows how to programmatically set the zero-crossing detection for a SignalBuilder? I cannot find a block property to set it. It is easily done via the Block's File menu (Simulation Option), but I need to do it via script.
thanks
Francois Godin

Best Answer

It is not directly possible. But some workarounds exists.
https://in.mathworks.com/matlabcentral/answers/25824-is-possible-to-change-sample-time-in-signal-builder-programmatically
https://in.mathworks.com/matlabcentral/answers/10008-signal-builder-option-access-by-command-line