The following line of MATLAB code causes the coder error “Directly accessing field or property of nonscalar struct or object not supported for code
Generation”
healthy = ~Health(SignalIndex).HasData(SatIndex,EphemIndex);
I have seen the following Mathworks page:
The work around cited doesn’t address my particular problem (or I can’t see that it does). Can you suggest a work around please?
Best Answer