PetPaulsen
PetPaulsen

Reputation: 3508

How to get the content of an embedded MATLAB function

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.

Upvotes: 2

Views: 1115

Answers (1)

MikeT
MikeT

Reputation: 1644

Try this technical solution on the Mathworks website.

Upvotes: 2

Related Questions