summaryrefslogtreecommitdiffstats
path: root/scilab/modules/xcos/demos/inverted_pendulum.dem.sce
blob: 7678310064eccbdb416c6d284f3432206642986b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2008 - INRIA
// Copyright (C) 2009-2011 - DIGITEO
//
// This file is released under the 3-clause BSD license. See COPYING-BSD.

loadXcosLibs();
function demo_xcosinvertpend()
  if ~isdef('setw') then exec("SCI/modules/xcos/demos/setw.sci",-1),end
  xcos("SCI/modules/xcos/demos/Inverted_pendulum.xcos");
endfunction

demo_xcosinvertpend();
clear demo_xcosinvertpend;