No BSD License  

Highlights from
SelectBox

4.0

4.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 68.91 KB File ID: #7141
image thumbnail

SelectBox

by Michael Robbins

 

14 Mar 2005 (Updated 03 May 2005)

A dialog box for the user to select several items from a list of available items.

| Watch this File

File Information
Description

SELECTBOX is a dialog box for the user to select several items from a list of available items.
%
% INPUT:
% title = the title of the box
% universe = a cellstring of available choices
% selections = an array of the indicies of pre-selected choices
% description = a short description of what to do
%
% OUTPUTS:
% out_index = an array of indicies of all selections (pre and post)
% out_cs = a cellstring of all selections (pre and post)
%
% EXAMPLE:
% sbtitle = 'MondoBetaCurve :: Select Securites';
% sbuniverse = { ' 8.625 07/23/21',' 4.250 08/08/21', ...
% ' 3.000 10/31/21','10.500 10/31/21', ...
% '11.250 10/31/21',' 7.750 10/31/21', ...
% ' 5.500 10/31/21',' 3.875 11/13/21', ...
% ' 3.875 02/24/22',' 8.375 05/19/22', ...
% ' 3.875 06/03/22','12.625 08/27/22', ...
% '10.375 08/27/22'};
% sbselections = [1 2 4];
% sbdescription = {['Select the securities that you want ' ...
% 'to use in your Beta Curve analyisis one'], ...
% ['at a time, pressing "ADD" after each' ...
% 'selection. When done, press "OK."']};
% [i,cs] = selectbox(sbtitle,sbuniverse,sbselection,sbdescription);
%
% SAMPLE OUTPUT:
% i = 1 2 4
% cs = ' 8.625 07/23/21' ' 4.250 08/08/21' '10.500 10/31/21'
%
% SEE ALSO: SearchReplaceGUI
%
% KEYWORDS: GUI guide uicontrol popup dialog box select choose pick

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
10 Jul 2005 topo zamur.

Useful with some warnings
The UP/DOWN buttoms doesnt work on R14,
(Promote_Demote is not working properly)

Please login to add a comment or rating.
Updates
03 May 2005

Added functionality. Sorting, help.

Tag Activity for this File
Tag Applied By Date/Time
gui tools Michael Robbins 22 Oct 2008 07:43:20
example Michael Robbins 22 Oct 2008 07:43:20
gui Michael Robbins 22 Oct 2008 07:43:20
guide Michael Robbins 22 Oct 2008 07:43:20
uicontrol Michael Robbins 22 Oct 2008 07:43:20
popup Michael Robbins 22 Oct 2008 07:43:20
pick Michael Robbins 22 Oct 2008 07:43:20
box Michael Robbins 22 Oct 2008 07:43:20
select Michael Robbins 22 Oct 2008 07:43:20
choose Michael Robbins 22 Oct 2008 07:43:20
dialog Michael Robbins 22 Oct 2008 07:43:20
gui elyes mrabet 01 Apr 2009 13:27:05

Contact us at files@mathworks.com