如何设置块的代码" custcode / System Outputs"编程?我收到错误"大小参数必须是实数整数"在运行以下内容后双击打开块时:
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);