Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to save in binary format, without mat extension

Status
Not open for further replies.

belenrial

Nuclear
Joined
Oct 20, 2006
Messages
1
Location
GB
I need to save a 3d matrix containing complex data, doble array to a binary format, but that can be read in a computer without matlab installed. Any help

Thanks
 
Use fwrite. type "help fwrite" at the command line to see how to use it. Should be able to read the file with a simple C program. Also, you can export csv and excel files with csvwrite and xlswrite.
 
I use a mex wrapper and actually do the binary writing in c or C++. Then you don't have to do any work. Except worry about Endianess in portability.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top