summaryrefslogtreecommitdiffstats
path: root/scilab/modules/xcos/demos/inverted_pendulum.dem.sce
diff options
context:
space:
mode:
authorClément DAVID <clement.david@scilab.org>2011-02-28 15:15:49 +0100
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2011-02-28 15:21:36 +0100
commit017b3ebc82c62c71ec13d846ccfbc04e2777443f (patch)
tree8672e02b24f648511af2240dd6dd6fa599e3aaf0 /scilab/modules/xcos/demos/inverted_pendulum.dem.sce
parent31f93742a4a7e31aec72f0beaee6c96ee2809913 (diff)
downloadscilab-017b3ebc82c62c71ec13d846ccfbc04e2777443f.zip
scilab-017b3ebc82c62c71ec13d846ccfbc04e2777443f.tar.gz
Xcos: fix some demos issues
remove setw.sci as it is loaded dynamically on inverted_pendulum.dem.sce fix inverted_pendulum.dem.sce blocks loading (not scoped) fix scope issue on Plant_DiscreteController.xcos Change-Id: I3c70f1c2a3b6a1193dec14dae512d8d851daec06
Diffstat (limited to 'scilab/modules/xcos/demos/inverted_pendulum.dem.sce')
-rw-r--r--scilab/modules/xcos/demos/inverted_pendulum.dem.sce3
1 files changed, 2 insertions, 1 deletions
diff --git a/scilab/modules/xcos/demos/inverted_pendulum.dem.sce b/scilab/modules/xcos/demos/inverted_pendulum.dem.sce
index 4d1e61e..7678310 100644
--- a/scilab/modules/xcos/demos/inverted_pendulum.dem.sce
+++ b/scilab/modules/xcos/demos/inverted_pendulum.dem.sce
@@ -1,9 +1,10 @@
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-2010 - DIGITEO 3// Copyright (C) 2009-2011 - 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
7loadXcosLibs();
7function demo_xcosinvertpend() 8function demo_xcosinvertpend()
8 if ~isdef('setw') then exec("SCI/modules/xcos/demos/setw.sci",-1),end 9 if ~isdef('setw') then exec("SCI/modules/xcos/demos/setw.sci",-1),end
9 xcos("SCI/modules/xcos/demos/Inverted_pendulum.xcos"); 10 xcos("SCI/modules/xcos/demos/Inverted_pendulum.xcos");