如何获取嵌入式 MATLAB 函数的内容
我的 Simulink 模型中有一些嵌入式 MATLAB 函数。有没有办法获取此块的内容(您在编辑器中看到的文本)?
我的第一个猜测是使用 find_system 获取嵌入式 MATLAB 函数,然后使用 get_param 获取内容。但我没有找到所需的参数名称。 文档未显示设置嵌入式 MATLAB 函数的任何参数。
In my Simulink model are some embedded MATLAB functions. Is there a way to get the content (the text you see in the editor) of this blocks?
My first guess was to use find_system to get the embedded MATLAB functions and then get_param to get the content. But I dont find the needed parameter name. The documentation didnt show up any parameter for the embedded MATLAB functions.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试此技术解决方案 Mathworks 网站。
Try this technical solution on the Mathworks website.