ERROR: Struct contents reference from a non-struct array object while calling from API Restful service
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (2)
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"
0 Comments
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.
0 Comments
See Also
Categories
Find more on Structures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!