How to get the content of an embedded MATLAB funct

2020-03-30 06:07发布

问题:

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.

回答1:

Try this technical solution on the Mathworks website.