필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Create custom simulink block from low-level C++

조회 수: 1 (최근 30일)
Federico Massimi
Federico Massimi 2018년 5월 28일
마감: MATLAB Answer Bot 2021년 8월 20일
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개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by