summaryrefslogtreecommitdiff
path: root/js/Linear/TCLSS.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/TCLSS.js')
-rw-r--r--js/Linear/TCLSS.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/Linear/TCLSS.js b/js/Linear/TCLSS.js
index c73804d1..63c2ab86 100644
--- a/js/Linear/TCLSS.js
+++ b/js/Linear/TCLSS.js
@@ -27,6 +27,11 @@ function TCLSS() {
return this.x;
}
TCLSS.prototype.get = function TCLSS() {
+ var exprs = this.graphics.exprs;
+ if (size(exprs,"*")==7) {
+ var exprs = exprs[[1:4,7]-1];
+ }
+ this.set_param_popup_title = "Set continuous linear system parameters";
var options = {
A:["A matrix",this.A],
B:["B matrix",this.B],
@@ -102,7 +107,6 @@ function TCLSS() {
return new BasicBlock(this.x);
}
TCLSS.prototype.get_popup_title = function TCLSS() {
- var set_param_popup_title = "Set continuous linear system parameters";
- return set_param_popup_title;
+ return this.set_param_popup_title;
}
}