4.5

4.5 | 2 ratings Rate this file 3 Downloads (last 30 days) File Size: 9.32 KB File ID: #13135

Setting block choice using mask parameters

by B.

 

27 Nov 2006 (Updated 27 Nov 2006)

Example that shows how the blockchoice of a configurable subsystem can be set automatically using ma

| Watch this File

File Information
Description

DESCRIPTION
=====================

It is very time consuming to have many blocks that contain configurable subsystems that have to be set manually. It would be much easier if you could place your settings in a structure and let Matlab / Simulink do the work for you.

This example contains a masked subsystem, in which a configurable subsystem is present. Which block is chosen for the configurable subsystem depends on which specific parameter value in the masked subsystem is entered.

USAGE
=============

Unzip the attachement. Two model files should now appear: lib.mdl and model.mdl.

Open model.mdl. You can run this model or change its settings by entering a different value in the mask dialog, following the instructions given in the model itself.

Required Products Simulink
MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
13 Jun 2007 made yadnya  
20 Oct 2010 Wei  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
simulink B. 22 Oct 2008 08:50:25
configurable subsystem mask parameters blockchoice B. 22 Oct 2008 08:50:25

Contact us at files@mathworks.com