MATLAB: Getting output from Simulink using m-file (link for m-file in simulink)

create link in simulinkget the result from simulink using m-filerun a m-file from simulinkSimscapeSimscape Electricalsimulink

Hi, I wanna create a link in Simulink, something like a link that exist in "ssc_engine_cooling_system". See image below:
What shall I do? Thank you

Best Answer

Double click the annotation box to enter the "edit" mode, hover over the hyper link and right click, select "Hyperlink ..." and you will see the dialog.
If you want to start from your own, create an annotation text, select them and then right click, select "Hyberlink ..." and then specify "matlab:YourMfile".
Related Question