how to create compositions in system composer video -凯发k8网页登录
sketch hierarchical system and software decompositions of components using a familiar component, port, and connector modeling approach. iteratively add more details to your design until you are ready for implementation in simulink®.
the main view in system composer is the composition view. it contains all the components in your architecture model that will eventually be implemented. you can think of it as a bill of materials view.
it consists of 3 base graphical items.
components, which are boxes. localization and motor are two components in this composition.
components have ports. these can be either input ports or output ports. think of them as doorways that allow information to flow in or out of a component.
r1 is an input port r2 is an output port for localization. notice they are both on the same side of the component. ports can be placed on any side of a component, even top and bottom.
components can be further decomposed. the content preview shows that the obstacle avoidance component has been further decomposed.
the ports on the obstacle avoidance boundary are the same as the ones in level above and are connected to ports of the components seen here such as path planning.
let’s create a new component, port and connector.
drag out a box to create a component and give it a name. in this case mag sensor.
now click on the component boundary to add a port and drag a line to connect it to another port then give the port a name.
this is a hierarchal composition diagram consisting of components, ports and connectors.
featured product
system composer
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 mathworks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- (español)
- (english)
- (english)
欧洲
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
亚太
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)