Borrar filtros
Borrar filtros

Accessing external software using Matlab GUI

5 visualizaciones (últimos 30 días)
Sushant
Sushant el 19 de En. de 2024
Comentada: Harald el 22 de En. de 2024
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?

Respuestas (1)

Harald
Harald el 19 de En. de 2024
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 comentarios
Sushant
Sushant el 22 de En. de 2024
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 el 22 de En. de 2024
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

Iniciar sesión para comentar.

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by