【问题标题】:How to read large number of data from InputStream in MATLAB如何在 MATLAB 中从 InputStream 中读取大量数据
【发布时间】:2016-05-27 15:36:01
【问题描述】:

在 MATLAB 中,我有一个 InputStream,我想从中读取数据。

很遗憾,我无法拨打电话

   read( byte [], int, int ) 

InputStream 的函数,因为 MATLAB 不通过引用传递非参数。

顺便说一句:调用“int read()”函数,它只读取一个字节,可以工作,但没有选择。

背景:我想读取一个多 GB 的 BZIP2 文件并即时解压缩(使用 Apache Commons Compress 包)。

在我看来,MATLAB 没有提供调用InputStreams 的“read”函数的方法是非常愚蠢的......

【问题讨论】:

    标签: java matlab inputstream


    【解决方案1】:

    这不是定义上的答案,但这是一个相关问题

    Read the data from TXT file inside Zip File without extracting the contents in Matlab

    【讨论】:

      猜你喜欢
      • 2012-10-20
      • 1970-01-01
      • 1970-01-01
      • 2012-03-03
      • 1970-01-01
      • 1970-01-01
      • 2014-11-03
      • 2011-04-15
      相关资源
      最近更新 更多