필터 지우기
필터 지우기

How Can I edit interface Mappings in "Interface Adapter"?

조회 수: 1 (최근 30일)
영섭 손
영섭 손 2023년 3월 10일
답변: Josh Kahn 2023년 3월 27일
I'm using the "system composer" in MATLAB 2021b.
I'd like to merge the two signals "VehicleRun" & "VehicleGear" and mapping them as bus to output signal "StateVehicle".
I cannot change "Apply interface conversion" list from None to Merge as below image.
Is there a way to merge the signals in the current version?

답변 (1개)

Josh Kahn
Josh Kahn 2023년 3월 27일
The adapter is the correct way to map multiple interfaces to a composite interface. In R2021b, create your interfaces in the interface editor first and then assign them to the ports upstream and downstream of the interface adapter. The adapter will detect the assigned interfaces and make them available for mapping. This has been streamlined in R2022a so that you no longer need to create interfaces in the interface editor first.
Merge is a software architecture feature (must use software architecture template) for merging message lines created using SimEvents. The merge feature was added in R2022b. Merge Documentation
Hope this helps!
Josh

카테고리

Help CenterFile Exchange에서 System Composer에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by