【问题标题】:Read a matrix file into Android将矩阵文件读入 Android
【发布时间】:2013-04-10 16:25:28
【问题描述】:

我正在尝试从 MATLAt 读取一个大矩阵并在我的 android 上读取它。您会将其转换为文本并从文本文件或 XML 文件中读取吗?您如何阅读并显示给用户?

【问题讨论】:

    标签: android xml file-io matrix mat


    【解决方案1】:

    试试 JSON - 它更像是一个矩阵 -

    http://www.json.org/

    http://www.mathworks.com/matlabcentral/fileexchange/33381-jsonlab-a-toolbox-to-encodedecode-json-files-in-matlaboctave

    http://developer.android.com/reference/org/json/JSONObject.html

    至于显示,这实际上取决于您所追求的 - 您可以使用 TextView 或一些自定义解决方案

    【讨论】:

      猜你喜欢
      • 2015-01-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-05-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多