Hello!
I have a question related to Matlab and Simulink. I need to create a real time control system. I have a NI-USB-6212 board with BNC connectors and the measuring system works (e.g. when I want to collect data from sensor).
I'm wondering how to make a real-time system. I wanted to try to do it in Simulink and use another computer as the target computer. But I found an information that since 2021 Simulink supports only speedgoat target machines. To be honest - I have financial limits and I would love to use a speedgoat target machine, but I need to find a cheaper solution.
Will it be possible using this NI card I have? For example using older MATLAB version?
The second solution that comes to my mind is to make this control system on a microcontroller, e.g. STM32. In this way I would need to create program in C/C++.
And a third option that could potentially work is to use LabVIEW, but I haven't figured it out yet. I have never worked in LabVIEW.
I must admit that I would prefer to do this control system in MATLAB/Simulink, because I have been working in this environment for several years and I just know it.
Thanks in advance for help.

 채택된 답변

Diego Kuratli
Diego Kuratli 2023년 4월 7일

1 개 추천

The NI-USB-6212 is supported by the Data Acquisiton Toolbox and the NI-DAQmx support package:
It won't be hard real-time, but you can use the Simulink Pacer.

댓글 수: 1

Thank you very much. I had never heard of the Simulink Pacer before. I will try it.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 System Configuration에 대해 자세히 알아보기

제품

릴리스

R2022b

태그

질문:

2023년 4월 7일

댓글:

2023년 4월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by