| Statistics Toolbox™ | ![]() |
casewrite(strmat,filename)
casewrite(strmat)
casewrite(strmat,filename) writes the contents of string matrix strmat to filename. Each row of strmat represents one case name. filename is the name of a file in the current directory, or the complete path name of any file elsewhere. casewrite writes each name to a separate line in filename.
casewrite(strmat) displays the Select File to Write dialog box for interactive specification of the output file.
strmat = char('January','February',...
'March','April','May')
strmat =
January
February
March
April
May
casewrite(strmat,'months.dat')
type months.dat
January
February
March
April
May gname, caseread, tblwrite, tdfread
![]() | caseread | ccdesign | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |