poster
2019-12-10, 20:48
在我的Simulink模型中,有一些嵌入式MATLAB函数。有没有办法获取该块的内容(您在编辑器中看到的文本)?
我的第一个猜测是使用find_system获取嵌入式MATLAB函数,然后使用get_param获取内容。但是我找不到所需的参数名称。该文档未 (http://www.mathworks.ch/access/helpdesk/help/toolbox/simulink/slref/f23-20073.html#userdefinedfcns_lib_blkparams)显示嵌入式MATLAB函数的任何参数。
回答:
在Mathworks网站上尝试该技术解决方案 (http://www.mathworks.com/support/solutions/en/data/1-1XIY8J/?solution=1-1XIY8J) 。
更多&回答... (https://stackoverflow.com/questions/3248924)
我的第一个猜测是使用find_system获取嵌入式MATLAB函数,然后使用get_param获取内容。但是我找不到所需的参数名称。该文档未 (http://www.mathworks.ch/access/helpdesk/help/toolbox/simulink/slref/f23-20073.html#userdefinedfcns_lib_blkparams)显示嵌入式MATLAB函数的任何参数。
回答:
在Mathworks网站上尝试该技术解决方案 (http://www.mathworks.com/support/solutions/en/data/1-1XIY8J/?solution=1-1XIY8J) 。
更多&回答... (https://stackoverflow.com/questions/3248924)