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
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
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
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!