資源簡介
解壓以后按照提示安裝好后,文件夾test里面有個例子。運行一下你就知道怎么用了。五分鐘解決戰斗!

代碼片段和文件信息
%function?cstr?=?strsplit(strarr?ch)
%
%?FUNCTIONALITY
%?Splits?string??at?positions?where?substring?
%?occurs.?If??is?not?given?then?ascii?character?10
%?(newline)?is?the?splitting?position.
%?This?would?split?for?example?a?read-in?file?into?its?lines.
%
%?INPUT
%???strarr?????string?to?split
%???ch?????????optional?character?or?substring?at?which?to?split
%??????????????default?is?character?ascii?10?=?‘newline‘
%
%?OUTPUT
%???cstr???????cell?array?of?strings?all?leading?and?trailing
%??????????????spaces?are?deleted.?Substring?ch?is?removed?from?string.
%
%?EXAMPLES
%???a?=?strsplit(‘aaa?bbb?ccc?‘?‘?‘)
%???Result:?a{1}=‘aaa‘?a{2}=‘bbb‘?a{3}=‘ccc‘
%???a?=?strsplit(‘user@server‘?‘@‘)
%???Result:?a{1}=‘user‘?a{3}=‘server‘
%???a?=?strsplit(‘aabbccddeeffgg‘?‘dd‘)
%???Result:?a{1}=‘aabbcc‘?a{2}?=?‘eeffgg‘
%
%?RELATED
%???strfun?depreciated?stringify.m
?
%?Copyright?(C)?2002?Marc?Molinari?University?of?Southampton
%?Author:?Dr?Marc?Molinari?
%?$Revision:?1.1?$?$Date:?2005/04/15?17:12:14?$?$Tag$
?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????..AD...?????????0??2005-04-15?18:12??xm
?????文件???????2385??2005-04-15?18:12??xm
?????文件???????1597??2005-04-15?16:22??xm
?????文件???????6758??2005-01-28?13:12??xm
?????文件???????1061??2005-04-15?18:12??xm
?????文件???????2211??2005-01-28?13:12??xm
?????文件??????43417??2010-01-20?18:20??xm
?????文件????????462??2010-01-20?15:56??xm
????..AD...?????????0??2010-01-20?16:00??xm
?????文件?????????73??2005-01-28?13:12??xm
?????文件???????1114??2005-01-28?13:12??xm
?????文件????????933??2005-04-15?18:12??xm
?????文件??????15907??2005-01-28?13:12??xm
?????文件???????1380??2005-04-15?18:12??xm
?????文件??????16417??2005-01-28?13:12??xm
?????文件???????1542??2005-04-15?18:12??xm
?????文件????????299??2005-01-28?13:12??xm
?????文件???????1068??2005-04-15?18:12??xm
?????文件???????3411??2005-01-28?13:12??xm
?????文件????????985??2005-04-15?18:12??xm
?????文件??????26288??2005-01-28?13:12??xm
?????文件????????517??2005-04-15?18:12??xm
?????文件??????12716??2005-01-28?13:12??xm
?????文件????????829??2005-04-15?18:12??xm
?????文件???????2519??2005-01-28?13:12??xm
?????文件???????1060??2005-04-15?15:55??xm
?????文件?????170797??2005-04-15?18:01??xm
?????目錄??????????0??2010-01-20?15:37??xm
-----------?---------??----------?-----??----
???????????????315746????????????????????28
............此處省略1個文件信息
- 上一篇:CFAR matlab
- 下一篇:基于遺傳算法車間調度問題matlab程序
評論
共有 條評論