error out of bond in xlabel
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
plot(p,Tcurrent)
xlabel('length of rod')
ylabel('temperature')
1 Kommentar
Antworten (2)
Amith
am 9 Okt. 2024
Hi Mohammad,
I think the query is similar to this MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/1645010-why-do-i-get-error-for-xlabel-all-of-a-sudden
Hope this helps!
0 Kommentare
Steven Lord
am 9 Okt. 2024
If this is the error you receive:
xlabel = 42;
xlabel('length of rod')
likely the cause is that you've defined a variable named xlabel (as I did on the first line of the code above) and then tried to call the xlabel function. Rename the variable and make sure that the variable with that name has been cleared from memory and try again.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!