Download this file
6 lines (6 with data), 197 Bytes
| function write_binary( m, filename );
% write matrix or vector to file in binary format (double)
fid = fopen(filename, 'wb');
nel = size(m(:),1);
fwrite(fid, m(:), 'double');
fclose(fid);
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.