How to interface another software with Matlab to give inputs?

2 次查看(过去 30 天)
Hi,
I am trying to interface matlab with a spincoater, which already comes with a software. If you use the software on its own, you can input values of speed and time but I would like to do that through matlab. I can open the software with: system('Spin.exe &');
How can I have inputs?
Thanks
  1 个评论
Benjamin Thompson
Benjamin Thompson 2022-10-10
Can you review the documentation for spincoater and see if the software provides some other interface options? Is there a software developer kit, or maybe a DLL that MATLAB could load instead of using the EXE?

请先登录,再进行评论。

回答(1 个)

Prateek
Prateek 2022-10-18
Hi Mojan,
Interfacing to MATLAB is feasible if the software of the spincoater allows so. I request you to review the documentation of the spincoater for any available support for the MATLAB Instrument Control Toolbox or a software development kit that can be used for this purpose. Interfacing over the serial port may also be possible (please see this link : Configuring and Controlling External Hardware in MATLAB - MATLAB & Simulink (mathworks.com))
While it is possible to call the “Spin.exe” file from MATLAB as you specified, this way will not be any different from calling the software through command line and thus may not achieve the interface you intend to get.
Regards,
Prateek

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by