How to interface another software with Matlab to give inputs?

1 view (last 30 days)
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 Comment
Benjamin Thompson
Benjamin Thompson on 10 Oct 2022
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?

Sign in to comment.

Answers (1)

Prateek
Prateek on 18 Oct 2022
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

Categories

Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!