Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Trouble using engEvalString to execute user-created functions

1 Ansicht (letzte 30 Tage)
Donald
Donald am 17 Dez. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I'm trying to use the Matlab Engine from a C program to execute a function (.m file) that I've written. I can compile my code and execute built-in Matlab functions, but my function isn't being executed. It's not crashing or anything; it's as if my function is being skipped over. I used engEvalString to add the path to the .m file I'm running, i.e,
engEvalString(ep,"addpath('C:\My Matlab Code')" )
but still nothing happens.
What am I missing?

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by