MATLAB .mat is a proprietary format of Mathworks, so I am almost certain there is no direct way of opening it it ArcGIS. But if you know some python programming, it becomes quite easy to import .mat matlab files and export to whatever format you want.
So assuming you are ArcGIS 10.1 (I think Python with this version comes pre-installed with Numpy and Scipy). Else you need to install scipy package. So the
codes goes like this
import scipy.io as sio
## Rreplace the next line with full path name, and yes it needs forward-slash
matfile = sio.loadmat('c:/dir/subdir/file.mat')
## matfile is dictionary (in Python terms)
## one of of keys in this dictionary will be your XYZ variables
## For example, type the following tho see keys
print fn.keys()
## Now you can export the values to any format you want.
## I think ascii format would be easiest if it is a raster file
## I can write a short python routine if you post (or send) the mat file
I don't know Matlab exporting features, but if you can export the file in txt format then you may open it in some software that allow you to export this in dbd format and then you can import it in arcgis for your post processing
I installed the MATLAB R2017a – academic use onto my Win7 desktop;
I opened the GUI of the Matlab without any Toolbox or special Path;
I put the file of ‘FourImages.mat’ to the ‘workspace’ of the Matlab;
I can see the MAT file FourImages.mat’ in ‘Current Folder’
I can also see the 4 images in the window below
Name Size
Mask 352x352x150
Tissue_mask 352x352x150
T1Map 352x352x150
B1map 352x352x150
I reload the file ‘FourImages.mat’, using
S=load(‘FourImages.mat’);
Disp(S)
I can see:
ss =
struct with fields:
B1map: [352×352×150 single]
mask: [150×352×352 double]
Tissue_mask: [150×352×352 double]
T1Map: [150×352×352 double]
I reload again using:
load(‘FourImages.mat’, 'B1map');
Note that ‘B1Map’ is already a 3D integer array. You do not need to convert it, e.g. using Struct2array or sturct2cell etc as the "Matlab Central" suggested
To display the central slice of the 3D image of B1Map, you do: