some bug on Polyspace ,the variable imask never has value of 3。
Mostra commenti meno recenti
Risposta accettata
Più risposte (1)
Shubham
il 8 Set 2023
0 voti
Hi Chen,
I understand you could not figure out when the value of the variable "imask" reaches "3" as shown in the variable access panel.
The value of 3 in the "Reads" and "Writes" columns in the variable access denotes the frequency of reading or writing operations performed on the variable. It does not indicate the specific value of the variable "imask" during program execution.
For more info, read here:
4 Commenti
ElectronicABC
il 11 Set 2023
Modificato: ElectronicABC
il 11 Set 2023
Shubham
il 12 Set 2023
Hi Chen,
Could you please tell me which version of Polyspace are you using?
ElectronicABC
il 12 Set 2023
Shubham
il 12 Set 2023
Hi Chen, Polyspace does not execute source code but does approximation. It looks like it is an over approximation in Polyspace R2021. Polyspace provided an over approximation of the possible values of imask. This issue has been fixed in the latest release. Thanks
Categorie
Scopri di più su Polyspace Code Prover in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
