Message Boards Message Boards

0
|
6893 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

Attempting to understand "booleanExpression" Modelica block.

POSTED BY: Brian Beckman

Hi Brian!

You can change the expression of the BooleanExpression trough the Modelica Text View. However, since that component only has a connector it won't show up in the parameters nor variables tab.

e.g.

 Modelica.Blocks.Sources.BooleanExpression booleanExpression(y = pulse.y and step.y and time >= 5)

enter image description here

Note also that the examples are read-only but you can create a duplicate to work with, right click on the class in the class browser and choose 'Duplicate'.

POSTED BY: Mikael Forsgren
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract