How to redistribute C++ applications that read and write MAT files?
    6 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    MathWorks Support Team
    
 il 9 Ott 2018
  
    
    
    
    
    Modificato: MathWorks Support Team
    
 il 4 Mag 2023
            We are developing software in C++ that needs to interface with MATLAB, predominantly the reading and writing of MAT-files. We want to use the C++ Mx and MAT API without having to redistribute all of the MATLAB DLL files. Are there smaller libraries that we can leverage for this application?
Risposta accettata
  MathWorks Support Team
    
 il 4 Mag 2023
        
      Modificato: MathWorks Support Team
    
 il 4 Mag 2023
  
      Since the C++ application just reads and writes MAT files, only a few of the libraries and header files are required to redistribute the application.
Refer to the following link that elaborates the steps needed to be taken to redistribute MAT-File based applications for different platforms:
As mentioned in the above website, in addition to the libraries "libmat.dll" and "libmx.dl",  use the third-party software Dependency Walker to find the library dependencies:
You can also refer to the following page that lists the MAT-File Library and Include Files:
0 Commenti
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Call C++ from MATLAB in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
