Code ran by (C++ API call) engEvalString() is slower
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Zohar
el 23 de Abr. de 2017
Respondida: Zohar
el 24 de Abr. de 2017
I noticed something disturbing. Executing Matlab code from C++ with the API call to engEvalString() runs twice as slow than running it within matlab.
I profiled and also manually timed the code. It's just Matlab basic operations and it has nothing to do with the overhead calling it from outside.
To emphasize, I'm NOT talking about the overhead of the API call. I am measuring the time of the pure Matlab code itself (running within the engine), and it runs slower.
(I'm using Matlab R2016a.)
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!