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

23 views (last 30 days)
I am having this error when full name with *.slx
or without suffix:
any fix for this?
  1 Comment
Nidhi
Nidhi 23 minutes ago
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!

Sign in to comment.

Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!