set_param(object, name, value, ...)
| Parameter | Description |
|---|---|
| args | see the syntaxes above. |
| Parameter | Description |
|---|---|
| varargout | see the syntaxes above. |
set_param sets model or block parameters atomically.
new_system('demo');
add_block('nflow/source/sine', 'demo/Sine');
add_block('nflow/math/gain', 'demo/Gain', 'gain', 2);
add_line('demo', 'Sine/1', 'Gain/1');
bdclose('demo');
| Version | Description |
|---|---|
| 1.0.0 | initial version |