summaryrefslogtreecommitdiffstats
path: root/scilab/modules/scicos
diff options
context:
space:
mode:
authorClément DAVID <clement.david@scilab.org>2010-04-20 16:34:35 +0200
committerClément DAVID <clement.david@scilab.org>2010-04-20 16:37:29 +0200
commitba309f39bca3b1ff07b9c72b730d9208db8d7e9b (patch)
tree0fd737b26d03806083686d2a3dfafe694381780a /scilab/modules/scicos
parentc2fda1548175c1ea9e39b84f68272853cad81b68 (diff)
downloadscilab-ba309f39bca3b1ff07b9c72b730d9208db8d7e9b.zip
scilab-ba309f39bca3b1ff07b9c72b730d9208db8d7e9b.tar.gz
Xcos: scicos compatibility
The scicos base must work for testing purpose. Patch to correct the menu libs, empty diagram printing and TCL invocation. Change-Id: Ifde526c76f3c3d970da336fee6b33c40613c0984
Diffstat (limited to 'scilab/modules/scicos')
-rw-r--r--scilab/modules/scicos/macros/scicos_auto/scicos.sci2
-rw-r--r--scilab/modules/scicos/macros/scicos_scicos/%diagram_p.sci6
2 files changed, 5 insertions, 3 deletions
diff --git a/scilab/modules/scicos/macros/scicos_auto/scicos.sci b/scilab/modules/scicos/macros/scicos_auto/scicos.sci
index d9df03a..129af44 100644
--- a/scilab/modules/scicos/macros/scicos_auto/scicos.sci
+++ b/scilab/modules/scicos/macros/scicos_auto/scicos.sci
@@ -141,7 +141,7 @@ return
141 141
142 142
143 143
144 TCL_EvalFile(SCI+"/modules/scicos/macros/scicos_scicos/MIHM.tcl") 144 TCL_EvalFile(SCI+"/modules/scicos/tcl/MIHM.tcl")
145 145
146 146
147 147
diff --git a/scilab/modules/scicos/macros/scicos_scicos/%diagram_p.sci b/scilab/modules/scicos/macros/scicos_scicos/%diagram_p.sci
index 02a7485..a022baf 100644
--- a/scilab/modules/scicos/macros/scicos_scicos/%diagram_p.sci
+++ b/scilab/modules/scicos/macros/scicos_scicos/%diagram_p.sci
@@ -27,6 +27,8 @@ function %diagram_p(scs_m)
27 nams=[nams;o.gui] 27 nams=[nams;o.gui]
28 end 28 end
29 end 29 end
30 nums=part(string(1:size(nams,'*'))',1:6) 30 if nams <> [] then
31 write(%io(2),nums+nams,'(a)') 31 nums=part(string(1:size(nams,'*'))',1:6)
32 write(%io(2),nums+nams,'(a)')
33 end
32endfunction 34endfunction