Simulink Reference Previous page   Next Page
slreplace_mux

Replace Mux blocks used to create buses with Bus Creator blocks.

Syntax

Description

slreplace_mux(model) or slreplace_mux(model, true) reports all Mux blocks that create buses in model and in libraries referenced by model.

A signal created by a Mux block is a bus if the signal meets either or both of the following conditions:

slreplace_mux(model, false) replaces all Mux blocks in model that create buses, including Mux blocks in libraries, with Bus Creator blocks. This command saves the model, if changed, and saves and closes any library that it modifies.

[muxes, uniqueMuxes, uniqueBds] = slreplace_mux(model) returns the following output variables:


Previous page  slmdldiscui slupdate Next page

© 1994-2005 The MathWorks, Inc.