- Open the Simulink preferences by clicking on the "Simulink" menu at the top of the MATLAB window and selecting "Preferences."
- In the "Simulink Preferences" window, select the "Data Management" category from the list on the left.
- Under "Data Logging," you will see a dropdown menu for "Logging format for newly created data logs." Select "Frame-based" or "Columns as channels" as per your requirement.
- Click "OK" to save your changes.
How can I set Simulink Logging's input processing default at Columns as channels (frame based)?
2 views (last 30 days)
Show older comments
Andy on 22 Feb 2023
Commented: Andy on 2 Mar 2023
For MATLAB 2022a Simulink, I want to set the default of my newly added loggers to frame based, or columns as channels, so that when I click on the logger in the model, it can just bring me to the corresponding data in SDI instead of giving me an error. Is there a way I can do that? Thanks.
Vijeta on 2 Mar 2023
Yes, you can set the default logging format for newly added loggers in Simulink by following these steps:
Now, whenever you add a new logger to your Simulink model, it will automatically be set to the default logging format that you selected in the preferences. This will prevent the errors you were experiencing and make it easier to navigate the logged data in the Simulation Data Inspector (SDI).
Find more on View and Analyze Simulation Results in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!