如何获取嵌入式MATLAB函数的内容 [英] How to get the content of an embedded MATLAB function

查看:52
本文介绍了如何获取嵌入式MATLAB函数的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Simulink模型中,有一些嵌入式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?

我的第一个猜测是使用find_system获取嵌入式MATLAB函数,然后使用get_param获取内容.但是我找不到所需的参数名称. 文档没有显示为嵌入式MATLAB函数设置任何参数.

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.

推荐答案

请尝试以下

Try this technical solution on the Mathworks website.

这篇关于如何获取嵌入式MATLAB函数的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆