lharri73 / PySimlink

Compile, run, and interact with Simulink models natively in Python. https://lharri73.github.io/PySimlink/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inport and outport not showing

Adrelien opened this issue · comments

Not entirely sure what problem you're encountering. If you're just not seeing the inports and outports in print_all_params, it's because those are not provided in the Simulink model map.

If you want to change the input to a model, you can change the inport to a constant and change the value of the constant (usage guide). To get the output of the model, you can just read the signal value of the block emitting the signal going to the outport.