设置块的参数" custcode / System Outputs"编程

时间:2016-02-18 17:28:06

标签: matlab

如何设置块的代码" 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);

0 个答案:

没有答案