필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Trouble using engEvalString to execute user-created functions

조회 수: 1 (최근 30일)
Donald
Donald 2012년 12월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
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?

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by