How to map simulink inports to workspace signals explicitly?
1 view (last 30 days)
Show older comments
Hello,
I am trying to build a model which has many inports. I need to map these inports explicitly (in a custom way/order) to prepared signals which are stored in the workspace.
With the available documentation about programmatic mapping as the function getRootInportMap I was not able to achieve this. getRootInportMap requires block names of inports and the corresponding signals as character strings or vectors. The problem with this method is, that it only accepts inports at the first level of the model. Subsystem-inports are not found. F.e.: " Model 'modelname' does not have a block named 'Subsystem/BasicIn1'".
Does anybody have a solution on how to access inports in deeper subsystem levels with this method or totally different method to achieve my goal?
Thanks in advance,
Florian
0 Comments
Answers (0)
See Also
Categories
Find more on Sources 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!