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

1 view (last 30 days)
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

Answers (2)

Ankita Nargundkar
Ankita Nargundkar on 7 Mar 2017
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 on 7 Mar 2017
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.

Community Treasure Hunt

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

Start Hunting!