How to connect input to input programmatically (add_line)?

1 view (last 30 days)
I use 'add_line()' to connect output to input, output from first block to the input of next block, in this case To File block (dropping outputs to file).
However, I would like to drop input of the first block to file too: is there an option to connect input to input, input of the first block to input of To File block?

Answers (0)


Find more on Programmatic Model Editing in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by