File: save_matfile.m

package info (click to toggle)
python-scipy 0.10.1%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 42,232 kB
  • sloc: cpp: 224,773; ansic: 103,496; python: 85,210; fortran: 79,130; makefile: 272; sh: 43
file content (6 lines) | stat: -rw-r--r-- 200 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
function save_matfile(test_name, v)
% saves variable passed in m with filename from prefix
  
global FILEPREFIX FILESUFFIX
eval([test_name ' = v;']);
save([FILEPREFIX test_name FILESUFFIX], test_name)