Has anybody seen this warning before? I can't troubleshoot it. Parameter precision loss occurred for 'X0'.......
Ältere Kommentare anzeigen
Getting the following warning. Think it is possibly the external input of an integrator block. Want to turn off Warning but boss doesn't want to because we want to check for other signal precision loss. When error is asserted it doesn't show any suspects. Note: 'X0' does not appear to be a parameter that we define.
Warning: Parameter precision loss occurred for 'X0'. The parameter's value cannot be represented exactly using the run-time data type. A small quantization error has occurred. To disable this warning or error, in the Configuration Parameters > Diagnostics > Data Validity pane, set the 'Detect precision loss' option in the Parameters group to 'none'.
Antworten (1)
Sebastian Castro
am 7 Aug. 2015
0 Stimmen
This happens when you use a parameter value whose specified value/data type is more accurate than what the Simulink model is actually using.
For example, look at the image below. If you have a parameter whose value is 1.5 but your signal/state is an integer value, you have a precision loss and the first output of that integrator is actually 2.
- Sebastian

3 Kommentare
Robert McNabb
am 7 Aug. 2015
Sebastian Castro
am 7 Aug. 2015
No problem!
Does your MATLAB version give you a hyperlink to the block that's causing the problem -- or, at least, the name of the block? That may be a good place to start searching.
Robert McNabb
am 7 Aug. 2015
Kategorien
Mehr zu Computer Vision with Simulink finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

