New install: Undefined function 'isstring' for input arguments of type 'char'.
古いコメントを表示
I just installed Matlab 2015 and get the following error upon starting the program:
> In matlabrc (line 228)
Undefined function 'isstring' for input arguments of type 'char'.
Error in fileparts (line 41)
if isstring(file)
The same "Undefined function 'isstring'..." appears in a dialog box whenever I try to open any script or function. However I know that I have isstring...
>> which isstring
C:\Program Files\MATLAB\R2015a\toolbox\matlab\codetools\@mtree\isstring.m % mtree method
I have 2019a installed on my machine and it works perfectly fine.
採用された回答
その他の回答 (1 件)
madhan ravi
2020 年 7 月 24 日
0 投票
2 件のコメント
Kelsey Dutta
2020 年 7 月 24 日
madhan ravi
2020 年 7 月 24 日
It’s because the function “isstring()” was introduced in 2016b you can’t use it in 2015a, I don’t know how to explain more clearly than this.
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!