Fail to start parallel pool
9 ビュー (過去 30 日間)
古いコメントを表示
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 件)
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:
- Close MATLAB.
- Navigate to the MATLAB preferences directory (usually found in the user’s home directory under .matlab).
- Rename the preferences folder for the current version (e.g., rename R2023a to R2023a_old).
- 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!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!