필터 지우기
필터 지우기

MATLAB cannot find jsonlab library during run time

조회 수: 3 (최근 30일)
Aditya Chukka
Aditya Chukka 2016년 10월 3일
댓글: Aditya Chukka 2016년 10월 4일
Hi all, I have a matlab function that reads input from a json file. JSONlab - toolbox that encodes-decodes json files. https://www.mathworks.com/matlabcentral/fileexchange/33381-jsonlab--a-toolbox-to-encode-decode-json-files.
I use .NET interface to call the matlab function. This works well when I run it via Visual Studio. But when I deploy the .NET application on to IIS Express the matlab function returns an Error "MATLAB:UndefinedFunction".
I guess I've to place the library (jsonlab) in a place that is accessible to Matlab Runtime but I'm not sure.
Can some one please tell me how to resolve this issue?
P.S : I've placed the library(jsonlab) in the path $MATLAB.

답변 (1개)

Joe Yeh
Joe Yeh 2016년 10월 3일
I recommend you follow the procedures listed in the following page :
Or you can choose to do it programmatically using addpath:
  댓글 수: 1
Aditya Chukka
Aditya Chukka 2016년 10월 4일
Hi Joe, The path variable contains the location to the library. Yet it could not find it during run-time.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Call Web Services from MATLAB Using HTTP에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by