Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Minha An
Minha An le 20 Sep 2022
Modifié(e) : Rishav le 16 Fév 2024
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?

Réponse acceptée

Rishav
Rishav le 12 Sep 2023
Modifié(e) : Rishav le 16 Fév 2024
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 commentaire
Minha An
Minha An le 30 Oct 2023
Thanks for the kindly answer, Rishav. That's very helpful.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by