From 6550b852e44b580e409d57ac8ff7333402b8a63c Mon Sep 17 00:00:00 2001 From: Matthis Thorade Date: Thu, 23 Apr 2026 09:49:17 +0200 Subject: [PATCH] Evaluate parameter tableOnFile --- Modelica/Blocks/Tables.mo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modelica/Blocks/Tables.mo b/Modelica/Blocks/Tables.mo index 50e38d1d56..a11853016c 100644 --- a/Modelica/Blocks/Tables.mo +++ b/Modelica/Blocks/Tables.mo @@ -7,7 +7,7 @@ package Tables extends Modelica.Blocks.Interfaces.SIMO(final nout=size(columns, 1)); parameter Boolean tableOnFile=false "= true, if table is defined on file or in function usertab" - annotation (Dialog(group="Table data definition")); + annotation (Evaluate=true, Dialog(group="Table data definition")); parameter Real table[:, :] = fill(0.0, 0, 2) "Table matrix (grid = first column; e.g., table=[0, 0; 1, 1; 2, 4])" annotation (Dialog(group="Table data definition",enable=not tableOnFile)); @@ -276,7 +276,7 @@ MATLAB is a registered trademark of The MathWorks, Inc. extends Modelica.Blocks.Interfaces.MIMOs(final n=size(columns, 1)); parameter Boolean tableOnFile=false "= true, if table is defined on file or in function usertab" - annotation (Dialog(group="Table data definition")); + annotation (Evaluate=true, Dialog(group="Table data definition")); parameter Real table[:, :] = fill(0.0, 0, 2) "Table matrix (grid = first column; e.g., table=[0, 0; 1, 1; 2, 4])" annotation (Dialog(group="Table data definition",enable=not tableOnFile));