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

4 次查看(过去 30 天)
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:

采纳的回答

Abhas
Abhas 2024-12-29
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!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by