How to read signal/data value from simulink rea-time model, on App designer ?

2 views (last 30 days)
I have a simulink model that reads signals from a NI-DAQ through the "Analog input" and "Digital Input" blocks in "real time", by this I mean putting "inf" in simulation time. With App Designer I can send data but I still don't know how to receive it.
Hope you can help me.

Answers (1)

Akash
Akash on 15 Sep 2023
Hi Fer_pg,
I understand that you have a “Simulink” model that reads signals from a “NI-DAQ” using the "Analog input" and "Digital Input" blocks in real-time, with the simulation time set to "inf". You mentioned that you are able to send data from “App Designer” to the “Simulink” model, but you are unsure about how to receive data in the “Simulink” model.
To address your specific problem, I recommend referring to the following MATLAB Answers which discusses similar issues that you may find helpful in addressing your specific problem.
Thanks,
Akash.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!