summaryrefslogtreecommitdiffstats
path: root/scilab/modules/xcos/demos/inverted_pendulum.dem.sce
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-10-07 10:31:04 +0200
committerZhour MADINI-ZOUINE <zhour.madini-zouine@scilab.org>2010-11-09 11:47:43 +0100
commitcdfee378ba8f0ace5a6b2b51a831fcd00405621b (patch)
treee84615a1d88c5ca2122c9cc819dc3b348160d071 /scilab/modules/xcos/demos/inverted_pendulum.dem.sce
parentb85f84b8d9cfced1b179c6a87806b886bf65e20b (diff)
downloadscilab-cdfee378ba8f0ace5a6b2b51a831fcd00405621b.zip
scilab-cdfee378ba8f0ace5a6b2b51a831fcd00405621b.tar.gz
cleaning demos (clean tmp variables) xcos module
Change-Id: I9ae69a4cde91f8fbb3c5ada6065a994a1398d8e3
Diffstat (limited to 'scilab/modules/xcos/demos/inverted_pendulum.dem.sce')
-rw-r--r--scilab/modules/xcos/demos/inverted_pendulum.dem.sce11
1 files changed, 8 insertions, 3 deletions
diff --git a/scilab/modules/xcos/demos/inverted_pendulum.dem.sce b/scilab/modules/xcos/demos/inverted_pendulum.dem.sce
index 1e5ddc62..4d1e61e 100644
--- a/scilab/modules/xcos/demos/inverted_pendulum.dem.sce
+++ b/scilab/modules/xcos/demos/inverted_pendulum.dem.sce
@@ -1,9 +1,14 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2008 - INRIA 2// Copyright (C) 2008 - INRIA
3// Copyright (C) 2009 - DIGITEO 3// Copyright (C) 2009-2010 - DIGITEO
4// 4//
5// This file is released under the 3-clause BSD license. See COPYING-BSD. 5// This file is released under the 3-clause BSD license. See COPYING-BSD.
6 6
7exec("SCI/modules/xcos/demos/setw.sci"); 7function demo_xcosinvertpend()
8xcos("SCI/modules/xcos/demos/Inverted_pendulum.xcos"); 8 if ~isdef('setw') then exec("SCI/modules/xcos/demos/setw.sci",-1),end
9 xcos("SCI/modules/xcos/demos/Inverted_pendulum.xcos");
10endfunction
11
12demo_xcosinvertpend();
13clear demo_xcosinvertpend;
9 14