Will the Data Acquisition Toolbox work with Simulink?

13 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 27 Juin 2009
I would like to know if the Data Acquisition Toolbox will work with Simulink.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 20 Fév 2023
Modifié(e) : MathWorks Support Team le 18 Avr 2023
Starting with Data Acquisition Toolbox 2.9 (R2006b), Simulink blocks to acquire live or measured data directly into your Simulink models are provided as part of the toolbox. Data Acquisition Toolbox block library consists of four Simulink blocks:
1. Analog Input block
2. Analog Output block
3. Digital Input block
4. Digital Output block
Additional information is provided on the Data Acquisition Toolbox product page at:
Note, Data Acquisition Toolbox was not designed to support real-time control. It is specifically designed to bring measured data into MATLAB and Simulink. Since the toolbox is built to operate inside a non real-time Microsoft Windows environment, it is not possible to achieve deterministic real-time operation.
If deterministic real-time control is not desired, it is possible to use Data Acquisition Toolbox for acquisition and control in Simulink. For deterministic real-time control in Simulink involving data acquisition, you need to use Real-Time Workshop and one of the real-time targets available, such as:
1. Real-Time Windows Target -
This runs your model on the same machine as Simulink (task-sharing the processor between a real-time kernel and Windows).
This requires a separate machine, which can range from an Intel 486 to a Pentium 4 or an Athlon based machine.
The target to be used depends on your application and hardware. In general, if speed is not an issue, use Real-Time Windows Target. Otherwise, use a second machine and xPC Target.

Plus de réponses (0)

Catégories

En savoir plus sur Real-Time Deployment and Code Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by