フィルターのクリア

error on start up. No Project Currently Loaded

4 ビュー (過去 30 日間)
skamajaya
skamajaya 2023 年 4 月 6 日
回答済み: Harshit Saini 2023 年 4 月 10 日
Warning: Executing startup failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:project:api:NoProjectCurrentlyLoaded
No project is currently loaded.
MATLAB Version: 9.11.0.2179507 (R2021b) Update 5
Operating System: Microsoft Windows 10 Professionnel Version 10.0 (Build 19045)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
I don't open any project. What to do ?

回答 (1 件)

Harshit Saini
Harshit Saini 2023 年 4 月 10 日
You can try to troubleshoot the issue by following the steps below:
  • Before modifying the search path, it is important to take a backup of your 'pathdef.m' file, which can be located by using the command:
>> which -all pathdef
Before proceeding, ensure that you make a safe copy of the file by copying it to a folder outside of your MATLAB path.
  • After taking the backup, please execute the following commands in the MATLAB Command Window to restore the default MATLAB search path and rehash the toolbox cache:
>> restoredefaultpath
>> rehash toolboxcache
  • After this step, please use MATLAB/Simulink to see if the issue occurs again. If the issue is resolved, then you may want to save the new MATLAB search path by executing the following command:
>> savepath
NOTE: This will remove any custom paths you may have created. The following MATLAB Answers post is an additional resource on how to back them up:

カテゴリ

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

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by