Code covered by the BSD License  

Highlights from
VU-LEGO Real Time Target

image thumbnail

VU-LEGO Real Time Target

by

 

30 Dec 2010 (Updated )

A user-friendly Blockset for embedding real time Simulink designs on the LEGO Mindstorms NXT brick.

closeNXT(h)
function closeNXT(h)

switch class(h),
    case {'nxtusb','w32serial'}
        if h.FileID~=1,
            fclose(h);
        end; %if
    otherwise
        error('Unrecognized type of handle');
end;



        

Contact us