1 function write_m(a,name,num1,num2)
2 % write_m(a,name,num1,num2)
4 % name root for file number
5 % num1,num2 numbers to form file name name_num1_num2
6 % if either num1<0 or num2<0 it is not used
7 % write array to file same as created by call write_array subroutines
8 % the mode of reading may change; do not call the functions below directly
9 % this file can be read by function read_m
10 if ~exist('num1','var'),
13 if ~exist('num2','var'),
16 name=file_name(name,num1,num2);