File: greasy_ref_mat.m

package info (click to toggle)
python-ltfatpy 1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 41,408 kB
  • sloc: ansic: 8,546; python: 6,470; makefile: 15
file content (21 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
function greasy_ref_mat(filepath)
% Save the output of the greasy function into a .mat file

if nargin < 1
    filepath = pwd();
end

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

inputs_names = {};
inputs = {};
nb_outputs = 2;
outputs = cell(1, nb_outputs);
[outputs{:}] = greasy(inputs{:});

data = {{inputs_names, inputs, outputs}};

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

end