Mux elements of multiple (same structure) busses together for scope (dynamic)
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, assume I have two busses with elements a and b each. I would like to scope these values in two subplots where in the upper one both a elements are plotted and in the bottom both b values. I want the structure to be in such a way, that if I were to add a third bus of the same structure, a third set of a and b elements is added to the same respective subplots automatically. Is there a way to achieve this?
Currently, I have to use bus selectors and muxes for each bus and element to get them back together in this fashion*. Arrays of buses look interesting, however I have not found a way to mux bus elements and feed that to a scope in some way without having to manually expand each mux for each bus element when I add a third bus.
*for each bus: bus selector to get all elements. Then Use mux on each element type of all busses to create one mux'ed signal per bus element type to be fed to a scope input.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 View and Analyze Simulation Results에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!