How to save N number of files in to single binary data file in column major order

2 次查看(过去 30 天)
Hi all I am working on projection files which I saved as .tif files. In order to open them through a GUI, I should concatenate these files in to single binary data file in column major order. I tried using 'fopen'. I tried to reshape those files in order to get themas a single column file. But I got an error ,"reshape requires same number of elements". WHere do i go wrong. your help is much appreciated

采纳的回答

Walter Roberson
Walter Roberson 2012-5-23
single_column = YourMatrix(:);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Low-Level File I/O 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by