This example shows how to use a Bus to Vector block to convert a bus signal to a vector, to provide a signal that the Gain block can accept.
Open a Simulink® model and simulate it.
model = fullfile(matlabroot,'examples','simulink','ex_bus_to_mux_ok'); open_system(model); sim(model)
The Gain block cannot accept a bus signal. Inserting a Bus to Vector block provides the type of input signal (a vector) that the Gain block can accept. The Bus to Vector block has no user-accessible parameters.