23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

0fwrite<br />

Purpose Write binary data to a file<br />

<strong>C++</strong> Prototype mwArray fwrite(const mwArray &fid, const mwArray &A,<br />

const mwArray &precision);<br />

mwArray fwrite(const mwArray &fid, const mwArray &A,<br />

const mwArray &precision, const mwArray &skip);<br />

mwArray fwrite(const mwArray &fid, const mwArray &A);<br />

<strong>C++</strong> Syntax #include "matlab.hpp"<br />

<strong>MATLAB</strong><br />

Syntax<br />

mwArray precision; // Input argument(s)<br />

mwArray fid, A, skip; // Input argument(s)<br />

mwArray count; // Return value<br />

count = fwrite(fid,A,precision);<br />

count = fwrite(fid,A,precision,skip);<br />

count = fwrite(fid,A);<br />

count = fwrite(fid,A,precision)<br />

count = fwrite(fid,A,precision,skip)<br />

See Also <strong>MATLAB</strong> fwrite Calling Conventions<br />

fwrite<br />

178

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!