Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Add ports for self-defind component

Add ports for self-defind component

The component in MSL all have ports, I could draw them in my model and connect them using a mouse, but as for the component I build by myself, how could I add some ports for them?
This is a comparsion:
https://s1.ax1x.com/2018/01/17/pr8NqO.jpg

Re: Add ports for self-defind component

The default OpenModelica library have some I/O ports. The route is the following: Modelica>Blocks>Interfaces
There you can see, for example, 'RealInput' and 'RealOutput'.

There are 0 guests and 0 other users also viewing this topic
You are here: