Saving array in binary file without any header information or timestamp information

Hi,
I need to save an array I have imported to matlab into a binary file. I don't have a binary file so first I need to know how to create one (8 bit)? In the past when I save into the binary format from matlab header information is included something like 'Matlab timestamp' ect. How can I remove this from the binary file? Also How can I make sure no timestamp information is included?
Thanks.

2 件のコメント

Image Analyst
Image Analyst 2012 年 5 月 1 日
Why? What does it hurt? It doesn't show up in the image when you recall it. Even if you have a completely raw, no header file, the operating system still has information on it, like the name of it, when it was created and last accessed, its security permissions, etc. Those should not be a problem (you can't avoid them even if they were) but I don't see why image header information is a problem.
Tom
Tom 2012 年 5 月 1 日
WRF WPS requires there be no header information.

サインインしてコメントする。

 採用された回答

Walter Roberson
Walter Roberson 2012 年 5 月 1 日
fid = fopen('TheFileName', 'w');
No header of any kind will be included.

2 件のコメント

Tom
Tom 2012 年 5 月 1 日
Thanks, how do I create the binary file in the first place?
Tom
Tom 2012 年 5 月 1 日
Can I do this by right clicking and saving as a binary file as well?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by