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?

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 25 Jun. 2015

0 Stimmen

Right click on your subsystem, click on properties, there may be any callback

1 Kommentar

Swantje
Swantje am 25 Jun. 2015
Bearbeitet: Swantje am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Titus Edelhofer
Titus Edelhofer am 25 Jun. 2015

1 Stimme

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 Kommentare

Swantje
Swantje am 25 Jun. 2015
Thanks, I found it! Callback tracing helped. Didn't know I had to highlight the callback function in order to see the content. That's why I couldnt find it before.
Titus Edelhofer
Titus Edelhofer am 25 Jun. 2015
Bearbeitet: Titus Edelhofer am 25 Jun. 2015
Glad to hear. For the next time: there should have been a "*" in front of the non empty callback.
Swantje
Swantje am 25 Jun. 2015
Ups, sorry, I didnt know I could not accept both answers. The tracing actually helped me more.
Titus Edelhofer
Titus Edelhofer am 29 Jun. 2015
No worries at all! When I wrote this it overlapped with you already accepting Azzi's answer which is perfectly fine ...

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink Environment Customization finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by