Simulink Playback Block Dropping Ports

When I save a model and close it, the next time I open it my playback block outputs say ground and I have to go manually reconnect them to the data in the workspace.
This seems to be a new issue in 2024b as we've used Playback blocks for years without issue.
The blocks work fine as long as the model is open, but when I close it, there is a good chance the Playback block loses it's outputs. It doesn't happen every time, but it's > 1 out of 3.

Réponses (1)

Isha
Isha le 20 Mar 2026
Modifié(e) : Isha le 20 Mar 2026

0 votes

Hello,
The description (Playback block ports reopening as Ground after saving/closing in R2024b) looks to me like a possible unintended behavior change for the block’s port assignments.
You can also leverage the openExample('simulink/LoadMessageDataIntoModelUsingPlaybackBlockExample') and see whether the issue still exists.
For further information you may contact MathWorks Tech Support https://www.mathworks.com/support/contact_us.html.
Hope this helps.

2 commentaires

Brad
Brad le 20 Mar 2026
We load timetables from workspace. The timetables have multiple variables that serve as the ports to the playback block. Are there any special limitations or best practices we should follow to avoid the problem in that kind of configuration?
Brad
Brad le 23 Mar 2026
The default example does not exhibit this issue, though it's loading data from a file, whereas we are loading timetables from the workspace. The variable in the workspace may or may not be present at the time the model is opened, but is always present before the model is run.

Connectez-vous pour commenter.

Catégories

En savoir plus sur General Applications dans Centre d'aide et File Exchange

Produits

Version

R2024b

Question posée :

le 17 Mar 2026

Commenté :

le 23 Mar 2026

Community Treasure Hunt

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

Start Hunting!

Translated by