Skip to content

Commit 8c062e0

Browse files
authored
Merge pull request #2471 from christiankral/Division
Change propsoal to show calculation equation in icon of Division
2 parents 91f19f7 + 8bbeac5 commit 8c062e0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Modelica/Blocks/Math.mo

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,11 @@ by <em>dividing</em> the two inputs <strong>u1</strong> and <strong>u2</strong>:
11091109
extent={{-150,110},{150,150}},
11101110
textString="%name"),
11111111
Line(points={{-100,60},{-66,60},{-40,30}}, color={0,0,127}),
1112-
Line(points={{-100,-60},{0,-60},{0,-50}}, color={0,0,127})}),
1112+
Line(points={{-100,-60},{0,-60},{0,-50}}, color={0,0,127}),
1113+
Text(
1114+
extent={{-60,88},{90,60}},
1115+
lineColor={0,0,255},
1116+
textString="y = u1 / u2")}),
11131117
Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{
11141118
100,100}}), graphics={Rectangle(
11151119
extent={{-100,-100},{100,100}},

0 commit comments

Comments
 (0)