how to show the relation ship between simulink function and its caller

1 view (last 30 days)
hello, in my simulink model i define several simulink functiion, and in somewhere in the model i will call these simulink functions, now i want directlty shows relation ship between them(for example current simulink function is called by which part), i rember simulink have such a function, it can show the relation ship use a line, but now i forget, just like following:

Accepted Answer

Abhas
Abhas on 29 Dec 2024
To visually display the relationship between Simulink functions and their callers in your Simulink model, follow the below steps:
  1. Ensure your Simulink model is open and loaded.
  2. Navigate to the "Debug" tab in the Simulink toolbar.
  3. Under the "Information Overlays" section, click on the "Function Connectors" button.
The above steps will add visual connectors (lines) between function callers and their respective Simulink functions.
You may refer to the official MathWorks documentation link on using the Function Connectors tool: https://www.mathworks.com/help/simulink/slref/use-connectors-tool-to-visualize-connections-between-blocks.html
I hope this helps!

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!