Thanks to @am304 comments I manage to solve this issue.
Connection through physical ports must be made through RConn1
and LConn1
keynames, so the command add_line
should be executed as follows:
add_line('model', 'cell1/RConn1', 'cell2/LConn1', 'autorouting', 'on')
Tested for:
- Matlab Version 7.12.0.635 (R2011a)
Thanks!
Edit.- As @am304 says it's not documented so it can be changed. If more versions are checked, please post a comment and I will update the answer.