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

3 次查看(过去 30 天)
颯大
颯大 2024-5-9
回答: Harimurali 2024-5-14
$document\MATLABの個人フォルダが見つかりません。と出てくるのですが、どうすれば立ち上げた時にこの警告を無くすことができますか?

回答(1 个)

Harimurali
Harimurali 2024-5-14
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

类别

Help CenterFile Exchange 中查找有关 ビッグ データの処理 的更多信息

Community Treasure Hunt

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

Start Hunting!