Skip to content

Commit

Permalink
Update chapters/annotations.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Oct 11, 2022
1 parent 1ec8564 commit 0b0959e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2076,10 +2076,15 @@ \subsection{Protection of Classes}\label{protection-of-classes}
annotation(Protection(access = Access.hide));
end MySecret;
model M
MySecret mySecret;
Integrator integrator;
MySecret mySecret
annotation(Placement(
transformation(origin = {30, 30}, extent = {{-10, -10}, {10, 10}})));
Integrator integrator
annotation(Placement(
transformation(origin = {70, 30}, extent = {{-10, -10}, {10, 10}})));
equation
connect(mySecret.y, integrator.u);
connect(mySecret.y, integrator.u)
annotation(Line(origin = {49.5, 30}, points = {{-8.5, 0}, {8.5, -0}}));
annotation(Protection(access = Access.diagram));
end M;
end P;
Expand Down

0 comments on commit 0b0959e

Please sign in to comment.