Simulink
feral3gp.feral.simulink(config, director=Simulation.director_dt)
¶
Source code in feral3gp/feral/simulink/simulink.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
|
feral3gp.feral.SimulinkConfig
dataclass
¶
Source code in feral3gp/feral/simulink/simulink_config.py
41 42 43 44 45 46 47 48 49 50 51 |
|
console: ConsoleConfig = None
class-attribute
instance-attribute
¶
If no console config is provided, the network will use the default console of the simulation
feral3gp.feral.SimulinkPortConfig
dataclass
¶
Source code in feral3gp/feral/simulink/simulink_config.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
data_type: SimulinkPortDataType = None
class-attribute
instance-attribute
¶
The data type of the port
name: str = None
class-attribute
instance-attribute
¶
The name of the port
size: int = None
class-attribute
instance-attribute
¶
The size of the port. 1 = scalar, 2 = array with 2 elements, 3 = array with 3 elements, ...
type: SimulinkPortType = None
class-attribute
instance-attribute
¶
The type of the port
feral3gp.feral.SimulinkPortDataType
¶
Bases: Enum
Source code in feral3gp/feral/simulink/simulink_config.py
13 14 15 16 17 18 |
|
feral3gp.feral.SimulinkPortType
¶
Bases: Enum
Source code in feral3gp/feral/simulink/simulink_config.py
7 8 9 10 |
|