Call a Software with Matlab

16 visualizaciones (últimos 30 días)
Fatemeh Nejat
Fatemeh Nejat el 4 de Mzo. de 2014
Respondida: Primoz Rome el 3 de Ag. de 2020
Hi :) I am planning to call a simulation software with matlab and run some files which are in a folder with that software, change the setup of simulation with matlab code and save results. Is is possible? if yes how can I change setup ? Thanks a lot :) Fati

Respuesta aceptada

ES
ES el 4 de Mzo. de 2014
If you want to run an external software, ActiveX is the best way. MATLAB makes a Component Object Model of whatever software you want to use, and its features(functions and parameters) are available as calls to APIs/CLIs. I have used it for a many external tools such as Excel, DeweSoft, CANalyzer etc..
  4 comentarios
ES
ES el 4 de Mzo. de 2014
Can I please know What external application do you want to use?
Iain
Iain el 4 de Mzo. de 2014
If you look at the code in xlswrite, you'll see a good example of the ActiveX method interfacing with excel.
Command line stuff uses commands that look like:
!dir "C:\Windows\"
I can't show you a good example of DDE methods, but the commands can be found as links from
doc ddeinit

Iniciar sesión para comentar.

Más respuestas (1)

Primoz Rome
Primoz Rome el 3 de Ag. de 2020
For DeweSoft you can use this ActiveX example available in our download center. For further questions you can also address our Developer portal.

Categorías

Más información sobre Use COM Objects in MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by