Call a Software with Matlab

조회 수: 16 (최근 30일)
Fatemeh Nejat
Fatemeh Nejat 2014년 3월 4일
답변: Primoz Rome 2020년 8월 3일
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

채택된 답변

ES
ES 2014년 3월 4일
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
ES
ES 2014년 3월 4일
Can I please know What external application do you want to use?
Iain
Iain 2014년 3월 4일
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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Primoz Rome
Primoz Rome 2020년 8월 3일
For DeweSoft you can use this ActiveX example available in our download center. For further questions you can also address our Developer portal.

카테고리

Help CenterFile Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by