Accessing external software using Matlab GUI
5 次查看(过去 30 天)
显示 更早的评论
I have developed a MATLAB's App Designer based GUI for neurostimulation and would like to access the neurostimulator hardware through the same. How can access an external software (neurostimulators software) from the GUI.
I feel its a very easy thing to do but i went through a lot of documentation and could not figure out what to do in this case. Any help?
0 个评论
回答(1 个)
Harald
2024-1-19
Hi Sushant,
I'd say it depends on the interfaces of the specific software.
If the software can be run from a console, I would use the system command to run the console command.
If there is any C++, Java, .NET, ... interface, you can use this from MATLAB as well.
Best wishes,
Harald
2 个评论
Harald
2024-1-22
Hi Sushant,
MEX files can be called like regular MATLAB files. The SDK hopefully comes with some sort of documentation on the input and output arguments.
To call DLLs, I'd try loadlibrary / calllib / unloadlibrary.
Best wishes,
Harald
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!