Hidden call of m-file

3 views (last 30 days)
Swantje
Swantje on 25 Jun 2015
Commented: Titus Edelhofer on 29 Jun 2015
I have a subsystem which only contains a ground and a terminator block connected to each other. When I double-click the subsystem-block, it calls an m-file. Where can this functionality be hidden?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 25 Jun 2015
Right click on your subsystem, click on properties, there may be any callback
  1 Comment
Swantje
Swantje on 25 Jun 2015
Edited: Swantje on 25 Jun 2015
You were right. But I didn't know I had to highlight the right callback function in the list in order to see the content. Now I found it. Thanks.

Sign in to comment.

More Answers (1)

Titus Edelhofer
Titus Edelhofer on 25 Jun 2015
An alternative is to go to the simulink preferences and enable "Callback tracing". Then you will see a printout in the command window for each fired callback.
  4 Comments
Swantje
Swantje on 25 Jun 2015
Ups, sorry, I didnt know I could not accept both answers. The tracing actually helped me more.
Titus Edelhofer
Titus Edelhofer on 29 Jun 2015
No worries at all! When I wrote this it overlapped with you already accepting Azzi's answer which is perfectly fine ...

Sign in to comment.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!