フィルターのクリア

Crash Running Matlab Simulink on MAC M1 MAX Parsym, Parfor

10 ビュー (過去 30 日間)
Jorge Ignacio Cisneros Saldana
Jorge Ignacio Cisneros Saldana 2023 年 5 月 4 日
I get the following error trying to run Matlab code using parallel toolbox with Simulink. XXX is a ficticious name.
This is error i get, anyone know how to solve it.
Error using
XXX
Cannot load model 'XXX' on parallel workers. If this is a demo model please ensure that it is installed on the parallel workers or copy the model file to a location outside of matlabroot
Caused by: A worker failed while executing a FevalOnAllFuture.
Warning: 2 worker(s) crashed while executing code in the current parallel pool. MATLAB may attempt to run the code again on the remaining workers of the pool, unless an spmd block has run. View the crash dump files to determine what caused the workers to crash.
Restarting the computer, Running on Terminal,
Running following code:
%% Validation Parameters % (1) Run the following MATLAB commands in order: tic rehash toolboxcache;
restoredefaultpath;
savepath toc % (2) Restart MATLAB and try the validation again.
I have Available Space 500 GB of Storage. Nothing Works.
  3 件のコメント
Karl Larsson
Karl Larsson 2024 年 5 月 3 日
I had similar errors when using parfor-loops using R2024a (Apple silicon version) on a Macbook Pro M3 Max (macOS Sonoma 14.4.1). In my case it seems the problem was related to the computer entering sleep mode, because the problem was fixed by turning on the macOS-setting:
System Settings -> Battery -> Options... -> Prevent automatic sleeping on power adapter when the display is off
Jorge Ignacio Cisneros Saldana
Jorge Ignacio Cisneros Saldana 2024 年 5 月 3 日
@Edric Ellis No it did not fixed, the issue happened after upgrading it actually.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by