I'm running my simulation and I get the following warning in the Diagnostic Viewer:
Altitude is out of range. Valid altitudes are between 0 and 20000 m.
Component:Simulink | Category:Model warning
I'm pretty sure, but not positive, that the warning is coming from the ISA Atmosphere Model block in the Aerospace Blockset. But I put a scope in the input to the block and it's always between the stated limits, so I'm not sure. I tried the Simuink debugger, but couldn't figure out a way to set a breakpoint on warning.
Nothing in the Diagnostic Viewer suggests where exactly the warning is coming from (i.e., no hyperlink to the offending block as it would show for an error).
I'm not even sure how to set up a block to generate a warning message. Anyway, is there a way for me to figure out where this warning is coming from?