Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Create custom simulink block from low-level C++
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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
0 Commenti
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!