title: Arduino as xcos block
body: <p>I am developing an interface between Arduino microcontroller and Scilab (analogue of MATLAB) simulation environment. 
  How I see it:</p>
  
  <p>A graphical block representing Arduino in Scilab. It will have 6 analogue and 14 digital inputs on the left side of the block and 14 digital outputs on the right side.</p>
  
  <p>The interface that should be developed which:</p>
  
  <ol>
  <li>gets output values from physical Arduino and assigns to the outputs of the graphical block in Scilab; </li>
  <li>gets inputs from graphical block and assigns them to the inputs of the physical Arduino.</li>
  </ol>
  
  <p>Could anyone give me ideas how I could do it?</p>