Returns a MATLAB color vector for a selection made from the palette.
A customisable palette of 40 colors and grey scales, with link to standard windows color dialog box for mixing more colours.
(anyone who downloaded my UiColorPicker before 9/6/03 should download this file as replacement).
Nothing flash, just a simple helper function to return the current selection and selectionIndex from the specified listbox or popupmenu.
where h is the handle to a UI control.
saves writing a set function.
Returns a structure containing all the default system colors.
GETSYSCOL('matlab') - default
Returns colors in the standard matlab color format 0-1.
Add the .manifest file to the <Matlab>binwin32 directory where <matlab> is your install directory.
Code is based on example on Microsoft Website. No additional Calls are required just dump it in the directory.
B = PICKN(A,N,P)
Returns P random Picks of N items from vector A.
PickN assumes that each item can be repelaced after selection.
A list contains four elements: [1 2 3 4]
Show two possible...
Use a standard paint program like paint shop pro to edit your icons, save them in a MATLAB compatible format (bmp, png, jpeg, etc..)
Use White [RGB(255,255,255)] for areas you want white.
Use Black [RGB(0,0,0)] for areas you...
[hFig] = MAKEDIALOG(DIMENSIONS,TITLE,TAG)
Function to create a screen-centred dialog box with the specified dimensions.
DIMENSIONS - specified in Pixels as [Width Height]
TITLE - String containing the text to...
This function returns a list of available analog channels for a specified adaptor.
[BoardNames, BoardIDs, Inputs, Outputs] = ListBoards('winsound')
'Creative SoundBlaster PCI'
Closes and deletes all instruements.
Very useful when debugging instrument control applications since you would need to reset matlab in order to clear these devices.
For convenience you may want to put it with the functions...