Data: Import from File : Binary 2D Array
This option may not display by default. Use Data: Import from File: Customize to enable it.
This X-Function supports file re-import. See this topic for details.
Import binary 2d array file
Minimum Origin Version Required: 9.0
impBin2d fname:="C:\temp4096x5120.img"
Please refer to the page for additional option switches when accessing the x-function from script
Input
string
int
Option list:
Output
Range
See the syntax here.
This function imports image data (.img files) and Origin binary matrix data (.b2d files) into matrix windows.
For example, you want to import a binary 2D data into a matrix. The byte length of the file is two. And the file has no header bytes. To import it into a matrix which has 256 columns, you can do the following steps:
impASC, impFile, impinfo, cd, dlgFile