Is the a way to convert a non-virtual bus structure into a multi dimensional single element bit field/array?

조회 수: 1 (최근 30일)
I need to take a non virtual bus of boolean elements and pack them up into a multi dimensional single element array using Simulink or Statflow. The main issue is the the bus structure might grow over time so i dont want this to be a manual process of updating a new bit everytime an element get added. I was thinking of using a for loop to do this, but i dont know how to pull each bus element without calling them out by name.

채택된 답변

Jonas
Jonas 2020년 2월 7일
I suggest you investigating For Each subsystems.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by