All my commands end up in workspace
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Stanley Zhu
il 22 Ago 2021
Commentato: Stanley Zhu
il 22 Ago 2021
After I added data to my workspace, whenever I do anything, it just ends up being added to the workspace area instead of getting executed, how do I fix this.
0 Commenti
Risposta accettata
Steven Lord
il 22 Ago 2021
Your last three lines create variables that shadow the title, xlabel, and ylabel functions rather than calling those funcions. Instead those lines should look like the plot command on the line right before it, without the equals signs.
title('abc') % Calls the function
title = ('abc') % Creates a variable and prevents you from calling the function
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Workspace Variables and MAT-Files 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!