File: save_matfile.m

package info (click to toggle)
python-scipy 1.1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 93,828 kB
  • sloc: python: 156,854; ansic: 82,925; fortran: 80,777; cpp: 7,505; makefile: 427; sh: 294
file content (6 lines) | stat: -rw-r--r-- 200 bytes parent folder | download | duplicates (12)
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)