Does it support to run Model Advisor on multiple MATLAB sessions?

2 ビュー (過去 30 日間)
Minha An
Minha An 2022 年 9 月 20 日
編集済み: Rishav 2024 年 2 月 16 日
I have configured to run model advisor on continuous build environment with jenkins, but it failed to run code generation advisor on multiple MATLAB sessions.
Unable to read MAT-file C:\Users\****\AppData\Roaming\MathWorks\MATLAB\R2018b\mdladvcache.mat. File might be corrupt.
What causes the error when multiple MATLAB sessions on the same PC executes code generation advisor?

採用された回答

Rishav
Rishav 2023 年 9 月 12 日
編集済み: Rishav 2024 年 2 月 16 日
Hi Minha,
Running multiple instances of MATLAB on a CI solution such as Jenkins, Bamboo, GitLab, etc. is not considered thread safe and can lead to the locking of the file "mdladvcache.mat", causing the 'File might be corrupt' error to be displayed.
Please leverage the Parallel Computing Toolbox for running checks in parallel. Please refer to the below mentioned documentation for more information on the same:
Thank you,
Rishav Saha
  1 件のコメント
Minha An
Minha An 2023 年 10 月 30 日
Thanks for the kindly answer, Rishav. That's very helpful.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by