MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
greenInk = Whiteboard;
blueInk = Whiteboard;

Change the color.

greenInk.Color = 'green';
blueInk.Color = 'blue';

Draw a few lines.

for i=1:3
greenInk();
blueInk();
end

34 System object Usage and Authoring

Free download pdf