Fail to start parallel pool

조회 수: 7 (최근 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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by