Mathematica常用命令

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yu132563/article/details/87888483

文件操作

Mathematica的一行命令读取二进制bin文件:

BinaryReadList["file","type"]

其中,file为bin文件的路径地址;type为bin文件的存储格式。

type的值有:

  • "Byte" 8位无符号整数
  • "Character8" 8位字符
  • "Character16" 16位字符
  • "Complex64" IEEE 単精度复数
  • "Complex128" IEEE 双精度复数
  • "Complex256" IEEE 四精度复数
  • "Integer8" 8位符号整数
  • "Integer16" 16位符号整数
  • "Integer32" 32位符号整数
  • "Integer64" 64位符号整数
  • "Integer128" 128位符号整数
  • "Real32" IEEE 単精度实数
  • "Real64" IEEE 双精度实数
  • "Real128" IEEE 四精度实数
  • "TerminatedString" 由8位字符组成的以null结束的字符串
  • "UnsignedInteger8" 8位无符号整数
  • "UnsignedInteger16" 16位无符号整数
  • "UnsignedInteger32" 32位无符号整数
  • "UnsignedInteger64" 64位无符号整数
  • "UnsignedInteger128" 128位无符号整数

猜你喜欢

转载自blog.csdn.net/yu132563/article/details/87888483