Fail to start parallel pool

9 ビュー (過去 30 日間)
Danelle L
Danelle L 2025 年 2 月 27 日
回答済み: Abhishek Kumar Singh 2025 年 2 月 28 日
I have this problem
Starting parallel pool (parpool) using the 'local' profile ...
Caught unexpected fl::except::IInternalException
>> i delete the local_cluster_jobs,but cant solve this problem
  1 件のコメント
Danelle L
Danelle L 2025 年 2 月 27 日
I run the code on my NoteBook Computer,It worked at first, but then it didn't work

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

回答 (1 件)

Abhishek Kumar Singh
Abhishek Kumar Singh 2025 年 2 月 28 日
I've often seen this error occur due to conflicts or unexpected interactions within the MATLAB environment, such as user-defined functions having the same names as internal MATLAB functions. Here are some general steps you can take to troubleshoot and resolve these conflicts, which might be preventing the parallel pool from starting:
  • Clear the workspace to ensure no residual variables or functions are interfering:
clear all;
  • Reset the MATLAB path to its default state to remove any path conflicts:
restoredefaultpath;
rehash toolboxcache;
  • Review the current directory and any folders added to the MATLAB path for custom scripts or functions that might shadow built-in functions.Also, you might want to check any startup files (e.g., startup.m) for commands or settings that might affect the MATLAB environment.
  • Sometimes MATLAB preferences can become corrupted. Resetting them can help:
  1. Close MATLAB.
  2. Navigate to the MATLAB preferences directory (usually found in the user’s home directory under .matlab).
  3. Rename the preferences folder for the current version (e.g., rename R2023a to R2023a_old).
  4. Restart MATLAB, which will create a new preferences folder.
By following these steps, you should be able to identify and resolve any underlying conflicts or issues in your MATLAB environment that might be preventing the parallel pool from starting, assuming the issue is as I suspect.
Let me know if this helps!

カテゴリ

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

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by