lharri73 / PySimlink

Compile, run, and interact with Simulink models natively in Python. https://lharri73.github.io/PySimlink/
GNU General Public License v3.0
15 stars 4 forks source link

Inport and outport not showing #12

Closed Adrelien closed 1 year ago

lharri73 commented 1 year ago

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.