matio-1.5.30/test/matlab/test_write_empty_cell.m
raw| 1 | try |
| 2 | load test_write_empty_cell.mat |
| 3 | expdata1 = cell(0,1); |
| 4 | expdata2 = {zeros(0,1);zeros(0,1)}; |
| 5 | pass = true; |
| 6 | pass = pass && isequal(var1,expdata1); |
| 7 | pass = pass && isequal(var2,expdata2); |
| 8 | catch me |
| 9 | pass = false; |
| 10 | end |
| 11 | if pass |
| 12 | fprintf('PASSED\n'); |
| 13 | else |
| 14 | fprintf('FAILED\n'); |
| 15 | end |
| 16 | exit; |