turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- Open binary data in JMP?

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jun 17, 2011 2:22 PM
(1339 views)

I was wondering if its possible to read raw binary data into a JMP script variable? (similar to fread() in Matlab)

Currently to analyze some data that is saved in binary format, I run Matlab to pull the data and save it into a *.csv, which I then load into JMP for plotting/statistical analysis. I'd prefer to be able to just run one script rather than jumping from program to program.

Currently to analyze some data that is saved in binary format, I run Matlab to pull the data and save it into a *.csv, which I then load into JMP for plotting/statistical analysis. I'd prefer to be able to just run one script rather than jumping from program to program.

1 REPLY

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jun 23, 2011 6:14 PM
(1170 views)

Yes -- the answer is blobs. First use `Open Text File()`

with the "blob" argument which will read the entire file into a blob (Binary Large OBject). For there JMP provides a few functions to extracting data from a blob. The most powerful is `Blob To Matrix()`

is the file contains a run to simmilar data (integers or floating point numbers, for instance). Use `Blob Peek()`

to extract a subblob to get the part you want to convert.