c = {“MyCulture / Cell316”;“MyCulture / Cell0”;“MyCulture / Cell339”;“MyCulture / Cell0”;“MyCulture / Nucleus50”;'myculture / nucleus0';“MyCulture / Nucleus50”}
>> [~,X] = sort(str2double(regexp(C, X)))“\ d + $”,“一次”,“匹配”)));
b: = c (x);
给予:
> > D {:}
ans = MyCulture / Cell0
ans = MyCulture / Cell0
ans = MyCulture / Nucleus0
ans = myculture / nucleus50
ans = myculture / nucleus50
ans = MyCulture / Cell316
ans = MyCulture / Cell339