필터 지우기
필터 지우기

Accessing external software using Matlab GUI

조회 수: 5 (최근 30일)
Sushant
Sushant 2024년 1월 19일
댓글: Harald 2024년 1월 22일
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?

답변 (1개)

Harald
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
Sushant
Sushant 2024년 1월 22일
Hello Harald,
Thank you for your response.
I am trying to access an SDK for a neurostimulator module, which has .dll and .mex64 files in it. I am unsure about how to use my GUI and the API callbacks to access the said SDK.
Let me know if you have any suggestions for me.
Best Regards,
Sushant Joshi
Harald
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 CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by