As CMAT3D is a Sink block, the scilab code and the charts.js file have to be changed in sync. Also, the block js file must be working. Complete the missing code.