why the orange warning for next line is not happened when array use just one index?
Mostra commenti meno recenti
At line 1971, array ps2g_csain_KArInFarCorIndirElimDistFr uses index u1s_csain_EmBumpTypeIndex, Orange warning is happened.
Size ps2g_csain_KArInFarCorIndirElimDistFr = 4
Range value of u1s_csain_EmBumpTypeIndex= [0..9]
Line 1791 and col 84 are orange warning. Please take a look Pic below:

Sequence Flow cod leads to warning: Please take a look Pic below:

At line 1973, array ps2g_csain_KArInFarCorIndirElimDistRr uses index u1s_csain_EmBumpTypeIndex, Green warning is happened.
Size ps2g_csain_KArInFarCorIndirElimDistRr = 4
Range value of u1s_csain_EmBumpTypeIndex= [0..3]
Line 1793 and col 84 are Green warning. Please take a look Pic below:

At line 1791Range value of u1s_csain_EmBumpTypeIndex = [0..9]. u1s_csain_EmBumpTypeIndex is not assigned from 1791 to 1793.
Please let me know why Range value of u1s_csain_EmBumpTypeIndex at line 1793 = [0..3]
BR
Thang Tran
1 Commento
Tran Thang
il 29 Lug 2021
Risposta accettata
Più risposte (0)
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!


