Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Create custom simulink block from low-level C++

1 visualización (últimos 30 días)
Federico Massimi
Federico Massimi el 28 de Mayo de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
hi, I never created a block for simulink and before starting, since I saw that there are many ways to do it, I wanted to ask for some advice.
The block I want to implement is to use an I/O hardware interface
https://store.digilentinc.com/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply/
which is only supported in matlab parsially. What I wanted to do is create a simulink block to use it at 100%.
Hardware has its own SDK in C++, and I am very familiar with this programming language. So the simulink block should call low-level C++ functions.
what the simulink block should do is (all via C++ SDK):
1) initialize the device.
2) exchange data in real time with the outside world through the I/O hardware interface.
3) close the device
Can you recommend the best way to create this block, if there is any documentation you recommend reading or if there is a better way to do what I have described?
Thanks in advance,
Federico

Respuestas (0)

La pregunta está cerrada.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by