cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
Claire
Level I

opening a .mat file into jmp

I have a matlab data file (.mat extension), I want to read it into a JMP table without loading it in Matlab - is it possible?

3 REPLIES 3

Re: opening a .mat file into jmp

Hello Claire,

 

JMP does not read .mat files directly, that is, without Matlab available.  You can probably use the built in Python support in JMP 18 to read the files into a JMP datatable.  Packages like mat4py or scipy should work. They will read the matlab variables into dictionaries or arrays, and then you can assign those to JMP columns within the Python code.  I have not done this myself.

 

Brian Corcoran

JMP Development

Claire
Level I

Re: opening a .mat file into jmp

Thanks for your reply Brian.

I do have matlab and at present I have to go to matlab, save my files as .csv and then load them into jmp. It's really not efficient. Does JMP have a a plan to allow users to open .mat files without having to go into matlab in the future? Would be great!

Re: opening a .mat file into jmp

Hi Claire,

 

JMP 19.1 will largely restore the MATLAB functionality that existing in JMP 17 and prior.  The JMP 17 support was temporarily removed in JMP 18 due to the need to separate out some of our software systems as JMP became an wholly owned subsidiary of SAS.  That said, I don't think this direct read was part of JMP 17 either.  I would suggest adding a Wish List item at https://community.jmp.com/t5/JMP-Wish-List/idb-p/jmp-wish-list for this support.  It is possible that we could bolster our MATLAB support with an additional JSL function to do what you'd like.

 

Brian

Recommended Articles