File: read_ref_mat_test.m

package info (click to toggle)
python-ltfatpy 1.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,412 kB
  • sloc: ansic: 8,546; python: 6,470; makefile: 15
file content (16 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function read_ref_mat_test(filepath)
% Save the some known reference data to test read_ref_mat

if nargin < 1
    filepath = pwd();
end

filename=[filepath, '/read_ref_mat_test.mat'];
disp(filename)

data = {{{'fun', 'dim', 'var'}, {'abs', 1, 1.3}, {[3., 2.2], 1.5}}, ...
        {{'fun', 'do_it'}, {'dgt', '_bool_True_'}, {[1.4, 1.2]}}};

save(filename, 'data', '-V6');

end