Scilab and its Scicos block diagram graphical editor, with a special emphasis on modeling and simulation tools. The first part is a detailed Scilab tutorial, and the second is dedicated to modeling and simulation of dynamical systems in Scicos. The concepts are illustrated through numerous examples, and all code used in the book is available to the reader.