How to interface another software with Matlab to give inputs?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Benjamin Thompson
le 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?
Réponses (1)
Prateek
le 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
0 commentaires
Voir également
Catégories
En savoir plus sur Instrument Control Toolbox Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!