How to troubleshoot "Undefined function or variable 'xticks'." on MATLAB R2016a.
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
tsylk
el 20 de Ag. de 2017
Comentada: Walter Roberson
el 11 de Mayo de 2018
Getting "Undefined function or variable 'xticks'." on MATLAB R2016a on my home laptop. Script works perfectly fine on my work computer. Please advise.
Respuesta aceptada
Geoff Hayes
el 20 de Ag. de 2017
According to xticks, then function was introduced in MATLAB R2016b. Your work computer must be at least on version R2016b. On your version, you may need to do something like
get(hAxes, 'XTick')
to get the current x-ticks for your axes given the handle hAxes, and
set(hAxes, 'XTick', ...)
to set the current x-ticks. See https://www.mathworks.com/matlabcentral/answers/92565-how-do-i-control-axis-tick-labels-limits-and-axes-tick-locations for details.
5 comentarios
Walter Roberson
el 11 de Mayo de 2018
What shows up for
which -all imshow
I just re-checked R2017b and confirmed that initSize calls upon images.internal.getWorkArea rather than upon getWorkArea
Más respuestas (0)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!