How can I set Simulink Logging's input processing default at Columns as channels (frame based)?

조회 수: 4 (최근 30일)
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.

답변 (1개)

Vijeta
Vijeta 2023년 3월 2일
Yes, you can set the default logging format for newly added loggers in Simulink by following these steps:
  1. Open the Simulink preferences by clicking on the "Simulink" menu at the top of the MATLAB window and selecting "Preferences."
  2. In the "Simulink Preferences" window, select the "Data Management" category from the list on the left.
  3. 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.
  4. Click "OK" to save your changes.
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).
  댓글 수: 3
Alvin Allen
Alvin Allen 2023년 8월 28일
Any update on this? I also don't see "Data Management" in either the MATLAB nor Simulink preferences windows, nor in the model settings in Data Import/Export.
I'd like my model to default to logging multidimensional signals as channels, but I can't find a way to do this.
Alternatively, if there's a way to convert all the data in the Data Inspector into channels in one button instead of having to do it signal-by-signal that would also be helpful.
I'm using MATLAB R2022a
Andy
Andy 2023년 8월 28일
The Mathworks person who works in our company said there is currently no default option for this, and Vijeta is no longer working in the Mathworks from India.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by