Changing Limiting the number of logged data points to the last 50000

7 ビュー (過去 30 日間)
Madhusudan
Madhusudan 2024 年 11 月 14 日
コメント済み: Adam Danz 2024 年 11 月 14 日
hello
currently i am exporting Simulink model to App
but when its converting
i am getting this information like Limiting the number of logged data points to the last 50000
i want to change this to max in matlab So can any one help to resolve this
thank you

回答 (1 件)

Sameer
Sameer 2024 年 11 月 14 日
You can change the maximum number of logged data points by adjusting the "MaxDataPoints" parameter.
Here’s how you can do it:
1. Go to the Configuration Parameters by clicking on Simulation > Model Configuration Parameters (ctrl+E).
2. Navigate to the Data Import/Export pane.
3. Find the option for “Limit data points to last” and ensure it is checked.
4. Set the “MaxDataPoints” to a higher value or to inf (infinity) if you want to log all data points.
If you want to set this parameter programmatically:
set_param(gcs, 'LimitDataPoints', 'on');
set_param(gcs, 'MaxDataPoints', 'inf');
Hope this helps!
  3 件のコメント

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePrepare Model Inputs and Outputs についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by