Mercurial > hg > octave-lyh
comparison src/load-save.cc @ 5256:418771cb5ab2
[project @ 2005-03-29 18:48:53 by jwe]
author | jwe |
---|---|
date | Tue, 29 Mar 2005 18:48:53 +0000 |
parents | 083039a30a3f |
children | a90ce2dc8b1e |
comparison
equal
deleted
inserted
replaced
5255:3c4237738c3e | 5256:418771cb5ab2 |
---|---|
586 @item -binary\n\ | 586 @item -binary\n\ |
587 Force Octave to assume the file is in Octave's binary format.\n\ | 587 Force Octave to assume the file is in Octave's binary format.\n\ |
588 \n\ | 588 \n\ |
589 @item -mat\n\ | 589 @item -mat\n\ |
590 @itemx -mat-binary\n\ | 590 @itemx -mat-binary\n\ |
591 Force Octave to assume the file is in @sc{Matlab}'s binary format.\n\ | 591 Force Octave to assume the file is in @sc{Matlab}'s version 6 binary\n\ |
592 \n\ | 592 format.\n\ |
593 @item -mat4-binary\n\ | 593 \n\ |
594 @item -V4\n\ | |
595 @itemx -v4\n\ | |
596 @itemx -4\n\ | |
597 @itemx -mat4-binary\n\ | |
594 Force Octave to assume the file is in the binary format written by\n\ | 598 Force Octave to assume the file is in the binary format written by\n\ |
595 @sc{Matlab} version 4.\n\ | 599 @sc{Matlab} version 4.\n\ |
596 \n\ | 600 \n\ |
597 @item -hdf5\n\ | 601 @item -hdf5\n\ |
598 Force Octave to assume the file is in HDF5 format.\n\ | 602 Force Octave to assume the file is in HDF5 format.\n\ |
664 } | 668 } |
665 else if (argv[i] == "-mat-binary" || argv[i] == "-mat" || argv[i] == "-m") | 669 else if (argv[i] == "-mat-binary" || argv[i] == "-mat" || argv[i] == "-m") |
666 { | 670 { |
667 format = LS_MAT5_BINARY; | 671 format = LS_MAT5_BINARY; |
668 } | 672 } |
669 else if (argv[i] == "-mat4-binary" || argv[i] == "-4" || argv[i] == "-v4") | 673 else if (argv[i] == "-mat4-binary" || argv[i] == "-V4" |
674 || argv[i] == "-v4" || argv[i] == "-4") | |
670 { | 675 { |
671 format = LS_MAT_BINARY; | 676 format = LS_MAT_BINARY; |
672 } | 677 } |
673 else if (argv[i] == "-hdf5" || argv[i] == "-h") | 678 else if (argv[i] == "-hdf5" || argv[i] == "-h") |
674 { | 679 { |
1233 \n\ | 1238 \n\ |
1234 @item -mat\n\ | 1239 @item -mat\n\ |
1235 @itemx -mat-binary\n\ | 1240 @itemx -mat-binary\n\ |
1236 Save the data in @sc{Matlab}'s binary data format.\n\ | 1241 Save the data in @sc{Matlab}'s binary data format.\n\ |
1237 \n\ | 1242 \n\ |
1238 @item -mat4-binary\n\ | 1243 @item -V4\n\ |
1244 @itemx -v4\n\ | |
1245 @itemx -4\n\ | |
1246 @itemx -mat4-binary\n\ | |
1239 Save the data in the binary format written by @sc{Matlab} version 4.\n\ | 1247 Save the data in the binary format written by @sc{Matlab} version 4.\n\ |
1240 \n\ | 1248 \n\ |
1241 @item -hdf5\n\ | 1249 @item -hdf5\n\ |
1242 Save the data in HDF5 format.\n\ | 1250 Save the data in HDF5 format.\n\ |
1243 (HDF5 is a free, portable binary format developed by the National\n\ | 1251 (HDF5 is a free, portable binary format developed by the National\n\ |
1346 } | 1354 } |
1347 else if (argv[i] == "-mat-binary" || argv[i] == "-mat" || argv[i] == "-m") | 1355 else if (argv[i] == "-mat-binary" || argv[i] == "-mat" || argv[i] == "-m") |
1348 { | 1356 { |
1349 format = LS_MAT5_BINARY; | 1357 format = LS_MAT5_BINARY; |
1350 } | 1358 } |
1351 else if (argv[i] == "-mat4-binary" || argv[i] == "-4" || argv[i] == "-v4") | 1359 else if (argv[i] == "-mat4-binary" || argv[i] == "-V4" |
1360 || argv[i] == "-v4" || argv[i] == "-4") | |
1352 { | 1361 { |
1353 format = LS_MAT_BINARY; | 1362 format = LS_MAT_BINARY; |
1354 } | 1363 } |
1355 else if (argv[i] == "-float-binary" || argv[i] == "-f") | 1364 else if (argv[i] == "-float-binary" || argv[i] == "-f") |
1356 { | 1365 { |