convert .mat to binary format

31 次查看(过去 30 天)
I have a set of data stored in matlab as variable x which contains 500 data points (values between 3 to 800)
i want to store this data as a binary format so that i can use it in a different software.
can someone help me out please.

采纳的回答

Andreas Goser
Andreas Goser 2012-5-3
As I said -"The term "binary format" may be used in different ways.". You are then looking for DEC2BIN. An example is in the documentation.
  1 个评论
hardik
hardik 2012-5-4
thank you! i was looking for this for very long time. but i couldn't spot it.

请先登录,再进行评论。

更多回答(2 个)

Andreas Goser
Andreas Goser 2012-5-3
The term "binary format" may be used in different ways. From the MATLAB perspective, there is the FWRITE command to "Write data to binary file".

hardik
hardik 2012-5-3
this dosent help me much since i wana store those 2 to 800 variables into the format of 1 0 001101011010101010011........
could u please tel me a bit more. or perhaps u can give me an example please
  1 个评论
Walter Roberson
Walter Roberson 2012-5-3
Complete with the space?
So that's the _character_ '0' and the _character_ '1' ? Or are those supposed to be a representation of consecutive bits?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by