For increased flexibility and options use the load function to open mat files and the openfig function to open figures.
													
																	Open mat file in code. 
									
	
		
	
																	It s possible you may need to download or purchase the correct application. 
																	A open name returns a structure if name is a mat file or it returns a figure handle if name is a figure. 
																	It s possible that a different program created it and stored the information in a plain text file. 
																	Otherwise open returns an empty array. 
															
													
									
	
		
	
																	This isn t the case for any of the above cases but it might be for yours. 
																	Launch a mat file or any other file on your pc by double clicking it. 
																	It is not possible to open it with a text editor except you have a special plugin as dennis jaheruddin says. 
																	I followed the instructions from this link below. 
															
													
									
	
		
	
																	Follow 2 039 views last 30 days priya on 27 mar 2014. 
																	Otherwise you will have to convert it into a text file csv for example with a script. 
																	If filename is a mat file then load filename loads variables in the mat file into the matlab workspace. 
																	Use a free text editor to open the mat file if none of the above programs are working for you. 
															
													
									
	
		
	
																	Areej nayab on 25 sep 2018 hi i m trying to open a mat file in matlab but am unble to do it. 
																	If your file associations are set up correctly the application that s meant to open your mat file will open it. 
																	Load filename loads data from filename. 
																	A mat file is a compressed binary file. 
															
													
									
	
		
	
																	Read mat files in python.