Bus Object Bus Creator

버전 1.1.0.0 (22.8 KB) 작성자: Landon Wagner
Tool to automatically populate a busCreator with BusElements names defined in a Bus Type.
다운로드 수: 568
업데이트 날짜: 2021/1/14

라이선스 보기

편집자 메모: This file was selected as MATLAB Central Pick of the Week

When working with bus object types in a design in order to employ strongly "typed" IO the collection of signals into a busCreator associated with a defined bus object type is tedious. After choosing the "Bus:" type in the busCreator "Output data type" the native busCreator does no further favors for you - the user must know or look up how many signals are in the bus type they wish to employ and set "Number of inputs" accordingly. Worse yet, the user must name the individual signals going into the busCreator with the signal names defined in the bus object type.
This tool's job is to do that favor for you. (Note that the tool itself is just a masked busCreator running some callback scripts so the inclusion of this tool does not overtly stick out in a design.) Details can be found in BOBCreadme.txt but essentially the tool's mask provides the user with candidate bus object types (From the workspace.) to choose from and upon selection and application of a bus object type the tool provides a busCreator with the necessary number of inputs and with those inputs populated with NAMED stubbed signal lines. These names match the BusElement names in the chosen bus object type. From these named stubbed lines the underlying busCreator inherits the names for "Signals in the bus." Again, this saves the user with having to know these signal names and fill them out themselves.

A special thank you to Elie couttet for providing a solution to out of date access of base workspace variables.

인용 양식

Landon Wagner (2024). Bus Object Bus Creator (https://www.mathworks.com/matlabcentral/fileexchange/50601-bus-object-bus-creator), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Speech Recognition에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

busObjectBusCreator

버전 게시됨 릴리스 정보
1.1.0.0

Updated in 2020b. Base workspace variables are no longer accessible the same was as they were in 2014b so this was updated. Mask parameters used in 2014b that were R/W are now R only. New R/W parameters were identified and used to fix functionality.

1.0.0.0