Setting parameters of block "custcode/System Outputs" programmatically
<p>How can I set the code for the block "custcode/System Outputs" programmatically? I receive an error "Size arguments must be real integers" when opening the block by double-click after running the following:</p>

<pre><code>add_block('custcode/System Outputs','model/subsystem')
field = setfield(get_param('model/subsystem/systemOutput','RTWData'),'Top','test');
set_param('Copy_of_model_vergleich_atom/Subsystem1/test','RTWData',field);
</code></pre>