User Tools

Site Tools


binwrite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

binwrite [2010/06/22 18:05] (current)
jochen created
Line 1: Line 1:
 +====== binwrite (reference only) ======
 +<​file> ​ binwrite ​ - writes a binary stream from a char/uint8 array to file
 + 
 +  FORMAT: ​      ​binwrite(filename,​content)
 + 
 +  Input Fields:
 +        filename ​   name to a file, preferably absolute path
 +        content ​    ​char/​uint8 array to write
 + 
 +  See also asciiwrite</​file>​
  
 +===== Example =====
 +<code matlab binwrite_example.m>​% store grayscale data in flat file (without layout!)
 +binwrite('/​Path/​to/​data/​grayscale.bin',​ lsqueeze(grayscale_image));</​code>​
 +
 +===== Notes =====
 +This function does **not** return any value.
binwrite.txt ยท Last modified: 2010/06/22 18:05 by jochen