Automatically Generate Mex File
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Moshe
 el 4 de Oct. de 2014
  
    
    
    
    
    Respondida: Bruno Pop-Stefanov
    
 el 6 de Oct. de 2014
            When writing a Mex wrapper for a C++ routine, it struck me that this task can (should?) be automated. Anyone has experience with a good utility that does that? i.e. starts with a C++ file and outputs a mex file that includes the extra structure to communicate with Matlab.
0 comentarios
Respuesta aceptada
  Bruno Pop-Stefanov
    
 el 6 de Oct. de 2014
        Moshe,
No, it's unfortunately not possible and I am now aware of a utility that creates a MEX wrapper automatically from C++ code. You will have to write the MEX function yourself and do some input and output processing.
If you are new to MEX files, I would suggest to read the doc at the link below to get you started:
0 comentarios
Más respuestas (0)
Ver también
Categorías
				Más información sobre Call C++ from MATLAB en Help Center y File Exchange.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

