Write binary data with custom format to file from simulonk

i have a record of 55 16 bit words that i want to write to a file. the to file block converts to double and limits at 10**8 elements.
these are 1200Hz records and want to make it binary to reduce size.
using simulink only.

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2011 年 4 月 28 日

0 投票

Have you tried using Time Series as the "Save Format"? This format doesn't convert the data to double.

2 件のコメント

Kaustubha Govind
Kaustubha Govind 2011 年 5 月 5 日
Jeff says:
"When i use the save to workspace, i run out of memory.
1200hz * 55 * 90 minutes of data."
Kaustubha Govind
Kaustubha Govind 2011 年 5 月 5 日
It is likely that MATLAB is running out of memory. What platform are you running (64-bit? Windows?). Also, I would recommend "To File" over "To Workspace" because the signal is written to disk and you are less likely to run into memory issues.

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

カテゴリ

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

タグ

質問済み:

2011 年 4 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by