dot notation for array
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Josh
el 13 de Dic. de 2014
MATLAB R2014:
I am trying to replace the following set command by a dot notation:
hax=gca;
hgraf=hax.Children;
set (hgraf, 'Color' , currentColor);
% what I was trying is:
% hgraf.Color=currentColor;
% I also tried:
% hgraf(:).Color=currentColor;
% both with currentColor defined as a scalar (which is the case used in the set command, or as an array (of correct length).
% I keep getting error:
%Insufficient number of outputs from function on right hand side of equal sign to satisfy % overloaded assignment.
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Cell Arrays 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!