Apply bus signals to a mux for use in interpreted matlab function block in simulink

조회 수: 3 (최근 30일)
I know that bus signals are not to be mixed with a mux in Simulink, but I need to import some variables from a bus used prior in my simulation to a mux. I am using this mux to send my 12 inputs into my interpreted function block. When I run the model I get an error saying "Invalid output port data type." Is there a workaround for this error? Maybe save the bus signals somehow then send them into the mux? Or maybe I do not need to use a mux to send all my signals into the interpreted matlab function block?

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by