Error: variable might be used before it is defined.
25 ビュー (過去 30 日間)
回答 (2 件)
Ruchika 2023 年 8 月 11 日
移動済み: Image Analyst 2023 年 8 月 11 日
The error message "variable might be used before it is defined" typically occurs when you're trying to use a variable before it has been assigned a value or initialized. This error can often be resolved by ensuring that you define or initialize your variables properly before using them in your MATLAB code. In this code, 'yy3' has been used to initialise 'yy2' before being initialised itself. You want to have an initial value for 'yy3' before using it to resolve this error.