Why is the MATLAB path cleared when I try to add a directory using the PATHTOOL or ADDPATH functions in MATLAB 7.0 (R14)?

3 ビュー (過去 30 日間)
When I use the PATHTOOL function to add a path to my directory, the path listing becomes blank and MATLAB can no longer find any functions. This also happens when I try to use the ADDPATH function to add a directory. For example, the following commands:
addpath('c:\')
path
result in the following error:
ERROR: ??? The path may be bad. Please save your work (if desired), and quit.
When using PATHTOOL, the directory listing goes blank.

採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 2 月 20 日
編集済み: MathWorks Support Team 2023 年 4 月 16 日
This bug has been fixed for Release 14 SP1 (R14SP1). For previous releases, please read below for any possible workarounds:
This has been verified as a bug in MATLAB 7.0 (R14) in the way that MATLAB handles an environmental variable called ICU_DATA on the system PATH.
For information about how to resolve this issue, see the following solution:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by