Clear Filters
Clear Filters

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

2 views (last 30 days)
颯大
颯大 on 9 May 2024
Answered: Harimurali on 14 May 2024
$document\MATLABの個人フォルダが見つかりません。と出てくるのですが、どうすれば立ち上げた時にこの警告を無くすことができますか?

Answers (1)

Harimurali
Harimurali on 14 May 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

Categories

Find more on 起動と終了 in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!