how to remove the error showing undefined function or variable
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
hello, i am using function block in matlab simulation .in that want to generate matrix X1 from matrix A
for j1=1:k2
for j2=1:m1
for j3=1:n1
X1(m1*(j1-1)+j2,j3)=A(j2,j3);
end
end
end
but executing code am getting error....
Undefined function or variable 'X1'. The first assignment to a local variable determines its class.
"X1"
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Argument Definitions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!