警告が出ないようにするには

3 vues (au cours des 30 derniers jours)
颯大
颯大 le 9 Mai 2024
$document\MATLABの個人フォルダが見つかりません。と出てくるのですが、どうすれば立ち上げた時にこの警告を無くすことができますか?

Réponses (1)

Harimurali
Harimurali le 14 Mai 2024
Hi 颯大,
私の母国語は日本語ではないので、この質問には英語で答えます。
The warning is being shown because MATLAB is not able to find the User environment path. The User environment path is a user-specific folder that MATLAB adds to the search path at startup. The current User environment path can be viewed by entering "userpath" in the MATLAB command window and pressing enter.
This warning can be resolved by setting a new user-specific folder on the search path. This can be achieved using the following MATLAB commands:
newpath = "some\new\path\to\a\folder";
userpath(newpath);
savepath;
% sets the primary userpath folder to newpath. The newpath folder appears at the top
% of the search path immediately and at startup in future sessions.
% MATLAB removes the folder previously specified by userpath from the search path.
Refer to the following documentation for more information on the "userpath" function in MATLAB: https://www.mathworks.com/help/releases/R2024a/matlab/ref/userpath.html

Catégories

En savoir plus sur ビッグ データの処理 dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!