JAVA or C++? Which one works better with MATLAB?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mehdi
el 29 de Abr. de 2015
Comentada: Guillaume
el 29 de Abr. de 2015
Hi,
Which one is more interactive with MATLAB? JAVA or C++?
0 comentarios
Respuesta aceptada
Guillaume
el 29 de Abr. de 2015
Matlab's desktop environment is built on top of java and you can call java functions easily from matlab.
Matlab can't talk to C++ directly, but it can talk to dlls as long as they use the C calling convention.
2 comentarios
Guillaume
el 29 de Abr. de 2015
arg1, ..., argn are the arguments for the function you want to call. Only the dll documentation can tell you what they are.
The hfile is ideally the header file (.h) that has been used to build the library. That should come from the author of the dll. If you don't have it, you may be able to create a proto file instead from the documentation. Its purpose is to tell matlab what the types of the arguments are, so it can convert matlab variables into their C equivalent.
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with 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!