ERROR: Struct contents reference from a non-struct array object while calling from API Restful service

조회 수: 2 (최근 30일)
Hi,
I am calling my Matlab function from an API service and get the error "Struct contents reference from a non-struct array object". However if I call the function from my local machine it does not give any such errors and the output is as expected(a structure). Can someone please help.
regards, Aishwarya

답변 (2개)

Ankita Nargundkar
Ankita Nargundkar 2017년 3월 7일
1. Can you elaborate more on how you are calling the MATLAB function from an API service?
2. Can you paste the code snippet of the function which is throwing the error "Struct contents reference from a non-struct array"

Jan
Jan 2017년 3월 7일
A bold guess: There was a problem some days ago concerning "com.mathworks":
If you post the complete error message and the failing line, answering might be more reliable.

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by