no definition for plot3
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
jilei liu
el 7 de Mayo de 2024
Comentada: jilei liu
el 10 de Mayo de 2024
It's ok to use plot3 in MATLAB script,problems comes when I try to packet them in my function ‘PlotDampRoots’:says plot3 not defined.what suppose I do?

3 comentarios
Respuesta aceptada
Steven Lord
el 8 de Mayo de 2024
Based on the translation of the Code Analyzer message DGM posted, it seems that somewhere in the PlotDampRoots function you assign to a variable named plot3. If you do that you will not be able to call the plot3 function inside that function (even if the attempted function call occurs before the assignment to the variable in the file.) Search the function for where you assign to plot3 and rename that variable.
3 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Graphics Objects en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



