Debian Codegraph @

matio-1.5.30/test/matlab/test_write_char_utf8_2d.m

raw
1 try
2 load test_write_char_utf8_2d.mat
3 expdata = uint8([216,168,196,145,216,172,105,217,132,225,187,135,219,140,110]);
4 expdata = reshape(native2unicode(expdata, 'UTF-8'), 2, 4);
5 pass = true;
6 pass = pass && isequal(expdata,a);
7 catch me
8 pass = false;
9 end
10 if pass
11 fprintf('PASSED\n');
12 else
13 fprintf('FAILED\n');
14 end
15 exit;