- The read or write operation completes
- A timeout occurs as specified by the Timeout property
What is the difference between sessions synchronously and asynchronously?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm using the MATLAB API C++ to run some commands from MATLAB on my c++ project.
My question: what is the difference between sessions synchronously and asynchronously?
matlab::engine::connectMATLAB
matlab::engine::connectMATLABAsync
Thank you.
1 commentaire
BNB
le 2 Août 2018
" Synchronous Versus Asynchronous Operations
The VISA object can operate in either synchronous or asynchronous mode. In synchronous mode, the MATLAB command line is blocked until
In asynchronous mode, control is immediately returned to the MATLAB command line. Additionally, you can use callback properties and callback functions to perform tasks as data is being written or read. For example, you can create a callback function that notifies you when the read or write operation has finished."
Réponses (0)
Voir également
Catégories
En savoir plus sur Deploy to C++ Applications Using MATLAB Data API (C++11) dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!