How to have Matlab wait for the C++ Matlab engine

3 Ansichten (letzte 30 Tage)
Brian Coghlan
Brian Coghlan am 22 Jul. 2020
Hello all,
I am working with a MATLAB and C++ implimentation of what is meant to be an identical program in each language. For a meriade of reasons, I have been interested in having the MATLAB and C++ versions run in parallel and periodically check their results against one another to help hunt down bugs that cause the two to deviate.
I am looking for a way for MATLAB to reach a point in the program and wait for the C++ version to reach the same point and send its results to MATLAB for comparison.
The issue I am having is that I cannot figure out how to make the MATLAB program wait for data from the C++ engine, then continue on using this data sent from C++.
I do not have access to any parallel computing toolboxes on the side of MATLAB.
I really appreciate any input or alternate ways of acheiving this.
-Brian

Antworten (0)

Kategorien

Mehr zu Call C++ from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by