Code covered by the MathWorks Limited License

Highlights from
Embedded Coder Robot NXT Demo

image thumbnail

Embedded Coder Robot NXT Demo



15 Dec 2006 (Updated )

Offers an enjoyable Model-Based Design experience using Simulink models with Lego robots

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

% clearNXTSignalObjects
%   clears all NXT.Signal objects in the base workspace.

%   Copyright 2010 The MathWorks, Inc.

function clearNXTSignalObjects

obj = evalin('base', 'whos');
for i = 1:length(obj)
    if isequal(obj(i).class, 'NXT.Signal')
        evalin('base', ['clear ' obj(i).name]);
% End of function

Contact us