A SystemC/MATLAB Co-simulation Tool for Networked Control Systems