Borrar filtros
Borrar filtros

calling Matlab executable that returns array from VBA

3 visualizaciones (últimos 30 días)
Piyush
Piyush el 1 de Ag. de 2013
My matlab function returns an array. I created an exe of the file and want to call it from VBA excel. Is there a function that can get the array from this executable. I know that the Shell command returns an integer.
Thanks.
  1 comentario
Muthu Annamalai
Muthu Annamalai el 1 de Ag. de 2013
@Piyush, an easy alternative is to write the data into a text file, from MATLAB, and read this file from VBA. Otherwise IPC may be involved/required.
Files could be replaced by sockets.

Iniciar sesión para comentar.

Respuestas (1)

Febin Benjamin
Febin Benjamin el 1 de Ag. de 2013

Categorías

Más información sobre Data Export to MATLAB en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by