# Multi-Slider-Source 1.7

OS : Windows / Linux / Mac OS / BSD / Solaris

Script Licensing : Freeware

Created : Oct 10, 2007

Downloads : 4

Thank you for voting...

## MULTI_SLIDER_SOURCE generate the manual slider source ...

MULTI_SLIDER_SOURCE generate the manual slider_source block.

multi_slider_source1p7(low, high)

multi_slider_source1p7(low, high, gain)

multi_slider_source1p7(low, high, SliderLabel)

multi_slider_source1p7(low, high, gain, SliderLabel)

requires only noSlider(number of the Sliders, scalar),

it generate a source block with outputs = noSlider.

multi_slider_source1p7(low, high)

requires low and high values in form of row vector,

it generate a source block with outputs = length(low), the size of low and high should be the same, and high > low should be fulfilled.

multi_slider_source1p7(low, high, gain) requires low, high and gain values in form of row vector, it generate a source block with outputs = length(low), the size of low, high, and gain should be the same, and high > gain > low should be fulfilled.

multi_slider_source1p7(low, high, SliderLabel) requires low, high values in form of row vector and SliderLabel in form of string cell array, the size of them should be the same, and high > low should be fulfilled.

multi_slider_source1p7(low, high, gain, SliderLabel) requires low, high, gain values in form of row vector and SliderLabel in form of string cell array, the size of them should be the same, and high > gain > low should be fulfilled.

generate a multi_slider source block with 3 sliders.

low = zeros(1, 5);

high = 10*ones(1, 5);

multi_slider_source1p7(low, high);

generate a multi slider source block with 5 sliders, which lower and upper limits are zeros(1, 5) and 10*ones(1, 5).

low = zeros(1, 3);

high = 5*ones(1, 3);

gain = 2. 5*ones(1, 3);

multi_slider_source1p7(low, high, gain)

generate a multi slider source block with 3 sliders, which lower and upper limits are defined by low, high. The position of the slider buttons will be at 2. 5*ones(1, 3);

low = zeros(1, 2);

high = 10*ones(1, 2);

SliderLabel = [{Speed} {Voltage}];

multi_slider_source1p7(low, high, SliderLabel)

generate a multi slider source block with 2 sliders, which lower and upper limits are defined by low, high. The slider label will be shown in the middel of each sliders.

low = zeros(1, 4);

high = 10*ones(1, 4);

gain = 5*ones(1, 4);

SliderLabel = [{Speed1} {Speed2} {Voltage} {Time}];

multi_slider_source1p7(low, high, gain, SliderLabel)

generate a multi slider source block with 2 sliders, which lower and upper limits are defined by low, high. The position of the slider buttons determined by gain. The slider label will be shown in the middel of each sliders.

Save As Default: when clicked, save current min, max, Label, gain and positions of sliders as default values.

Sets: when clicked, prompt a dialog to load input sets.

The sets can be column vector or matrix in the order of Sliders. When dimension excessed, it gives a warning massage and cut the vectors or matrix automatically to match the dimension of your Multi-Slider-Source 1.7 block. When the dimension is less than number of silders, it will be applied from the first silder.

SetEdit: This edit box can only work when 'Sets:' button has been excuted. Give the number of column of the set you desired to use as input, if the number you entered is larger than the maximun column number of your Sets matrix, a warning massage will be given, and the maximum column number of your Sets matrix will be set inside the box.

• Simulink

**Syntax:**

multi_slider_source1p7(noSlider)multi_slider_source1p7(low, high)

multi_slider_source1p7(low, high, gain)

multi_slider_source1p7(low, high, SliderLabel)

multi_slider_source1p7(low, high, gain, SliderLabel)

**Description:**

multi_slider_source1p7(noSlider)requires only noSlider(number of the Sliders, scalar),

it generate a source block with outputs = noSlider.

multi_slider_source1p7(low, high)

requires low and high values in form of row vector,

it generate a source block with outputs = length(low), the size of low and high should be the same, and high > low should be fulfilled.

multi_slider_source1p7(low, high, gain) requires low, high and gain values in form of row vector, it generate a source block with outputs = length(low), the size of low, high, and gain should be the same, and high > gain > low should be fulfilled.

multi_slider_source1p7(low, high, SliderLabel) requires low, high values in form of row vector and SliderLabel in form of string cell array, the size of them should be the same, and high > low should be fulfilled.

multi_slider_source1p7(low, high, gain, SliderLabel) requires low, high, gain values in form of row vector and SliderLabel in form of string cell array, the size of them should be the same, and high > gain > low should be fulfilled.

**Examples:**

multi_slider_source1p7(3)generate a multi_slider source block with 3 sliders.

low = zeros(1, 5);

high = 10*ones(1, 5);

multi_slider_source1p7(low, high);

generate a multi slider source block with 5 sliders, which lower and upper limits are zeros(1, 5) and 10*ones(1, 5).

low = zeros(1, 3);

high = 5*ones(1, 3);

gain = 2. 5*ones(1, 3);

multi_slider_source1p7(low, high, gain)

generate a multi slider source block with 3 sliders, which lower and upper limits are defined by low, high. The position of the slider buttons will be at 2. 5*ones(1, 3);

low = zeros(1, 2);

high = 10*ones(1, 2);

SliderLabel = [{Speed} {Voltage}];

multi_slider_source1p7(low, high, SliderLabel)

generate a multi slider source block with 2 sliders, which lower and upper limits are defined by low, high. The slider label will be shown in the middel of each sliders.

low = zeros(1, 4);

high = 10*ones(1, 4);

gain = 5*ones(1, 4);

SliderLabel = [{Speed1} {Speed2} {Voltage} {Time}];

multi_slider_source1p7(low, high, gain, SliderLabel)

generate a multi slider source block with 2 sliders, which lower and upper limits are defined by low, high. The position of the slider buttons determined by gain. The slider label will be shown in the middel of each sliders.

**New Features:**

Default: when clicked, reset all the parameters with original values when you generate the multi-slider-source by Po Hu block.Save As Default: when clicked, save current min, max, Label, gain and positions of sliders as default values.

Sets: when clicked, prompt a dialog to load input sets.

The sets can be column vector or matrix in the order of Sliders. When dimension excessed, it gives a warning massage and cut the vectors or matrix automatically to match the dimension of your Multi-Slider-Source 1.7 block. When the dimension is less than number of silders, it will be applied from the first silder.

SetEdit: This edit box can only work when 'Sets:' button has been excuted. Give the number of column of the set you desired to use as input, if the number you entered is larger than the maximun column number of your Sets matrix, a warning massage will be given, and the maximum column number of your Sets matrix will be set inside the box.

**• MATLAB Release: R14SP1**

**Demands:**• Simulink

**Multi-Slider-Source 1.7 scripting tags:**multi-slider-source, multi slider, slider source, high, development tools, block.

**What is new in Multi-Slider-Source 1.7 software script?**- Unable to find Multi-Slider-Source 1.7 news.

**What is improvements are expecting?**Newly-made Multi-Slider-Source 1.8 will be downloaded from here. You may download directly. Please write the reviews of the Multi-Slider-Source. License limitations are unspecified.