Why it gives error to matlab's own function

2 visualizaciones (últimos 30 días)
Stelios Fanourakis
Stelios Fanourakis el 12 de Dic. de 2017
Comentada: Stelios Fanourakis el 12 de Dic. de 2017
Undefined function 'getAxesTransformationMatrix' for input arguments of type 'matlab.graphics.axis.Axes'. Error in View (line 84) varargout{1} = getAxesTransformationMatrix(hAxes);
It gives me that error when I call View.m which is a predefined function in Matlab R2015a

Respuesta aceptada

Steven Lord
Steven Lord el 12 de Dic. de 2017
Which view function are you calling? What does this command return?
which -all view
My suspicion is that you made (or someone else made for you) a copy of view.m outside the directory where the version included with MATLAB is located, and you're calling that copy. That won't work. The view function included in MATLAB depends on at least one function (getAxesTransformationMatrix) that is only accessible to functions in the directory where the view function included with MATLAB lives.
  1 comentario
Stelios Fanourakis
Stelios Fanourakis el 12 de Dic. de 2017
You probably are right. I copied and pasted the view.m file to another directory.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre File Operations 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!

Translated by