How can I disable signal logging for all the signals in my model?

27 vues (au cours des 30 derniers jours)
Peter
Peter le 1 Oct 2025 à 9:13
Réponse apportée : Nidhi le 16 Oct 2025 à 9:47
I am having this error when full name with *.slx
or without suffix:
any fix for this?

Réponses (1)

Nidhi
Nidhi le 16 Oct 2025 à 9:47
Hi Peter,
I understand that you are trying to disable signal logging for all signals in your Simulink model.
I tried the suggested script and was able to reproduce the scenario. When I entered the model name without the .slx extension and made sure the model was loaded in MATLAB, I received the message.
This means the script worked as intended and successfully disabled signal logging for all signals in the model.
Before running the script, make sure to:
  • Enter the model name without the .slx extension.
  • Ensure the model is loaded in MATLAB
Alternatively, you can disable logging manually using the Simulink GUI:
  1. Open your model in Simulink.
  2. Go to the Simulation tab.
  3. Click on Prepare > Configure Logging.
  4. In the dialog that appears, select Override signals.
  5. Use Ctrl+A to select all signals, then disable DataLogging
This method is user-friendly and allows you to easily revert your settings if needed, I hope this helps!

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by