Calling MATLAB function from C#

조회 수: 2 (최근 30일)
Bushra
Bushra 2011년 12월 21일
Hi all I am trying to call matlab function from my c# project. The function includes wavread function of matlab. The problem is that the .wav file i need to read is to be dynamically created at run time in c#. when i create the file i copy it to the location where matlabfunction_mcr is located in c# project. I also give full path of .wav to matlab function. But when i execute the function I get runtime nullreference exception:
"Object reference not set to an instance of object"
Can anyone suggest some solution for that?? I'd be thankful.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by