I have a code but can't execute it. The code starts like this
1 回表示 (過去 30 日間)
古いコメントを表示
function GPcore(path)
if nargin<1
path=cd;
end
llii={};
lli=strsplit(ls(path));
for iio=1:length(lli)
if length(lli{iio})>4
if strcmpi(lli{iio}(end-3:end),'.ini')
llii = {llii{:} ,lli{iio}};
end
end
end
I think the problem lies in line 8 with strsplit(ls(path))
Do I need to change the code or install some libraries?
3 件のコメント
Arif Istiak Abeg
2020 年 5 月 6 日
this is function generator.
You have to new script and then paste it there then save it
now you can use "GPcore()" as a customed function
回答 (1 件)
Arif Istiak Abeg
2020 年 5 月 6 日
this is function generator.
You have to new script and then paste it there then save it
now you can use "GPcore()" as a customed function
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!