Simulink AUTOSAR Blockset - How to calibrate parameters from model

4 ビュー (過去 30 日間)
Nicolas B
Nicolas B 2024 年 11 月 27 日
コメント済み: Nicolas B 2024 年 12 月 3 日
Hi,
In Simulink AUTOSAR Blockset, I have a list of SharedParameters. I have a few of these parameters that I would like to auto-tune. Meaning that I have a Stateflow routine that calibrate the values. Once the routine is done, I would like to write back the results in the external interface (to let the RTE/BSW saving it in non-volatile memory).
Does someone knows how to do that?
Regards, Nicolas

採用された回答

praguna manvi
praguna manvi 2024 年 12 月 2 日
編集済み: praguna manvi 2024 年 12 月 2 日
As I see, you are looking to calibrate AUTOSAR after using a Stateflow routine. You can configure "per-instance memory (PIM)" for AUTOSAR applications for this use case. In the AUTOSAR run-time environment, calibration tools can access "arTypedPerInstanceMemory" blocks for calibration and measurement. Refer to the link below for more information:
To preserve state information at startup and shutdown, the documentation above uses "NVRAM" block state data. Additionally, here is a useful discussion thread on using data in "Stateflow" for "PIM":
Hope this helps!
  1 件のコメント
Nicolas B
Nicolas B 2024 年 12 月 3 日
Thank you for these links, it is exactly what I was looking for!
Regards

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by