Borrar filtros
Borrar filtros

How to interface another software with Matlab to give inputs?

1 visualización (últimos 30 días)
mojan omidvar
mojan omidvar el 10 de Oct. de 2022
Respondida: Prateek el 18 de Oct. de 2022
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 comentario
Benjamin Thompson
Benjamin Thompson el 10 de Oct. de 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?

Iniciar sesión para comentar.

Respuestas (1)

Prateek
Prateek el 18 de Oct. de 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

Categorías

Más información sobre Instrument Control Toolbox Supported Hardware 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