Search
New Code
Social Media Script 1.0
ByteScout PDF Renderer SDK 9.0.0.3079
Magento Mobile App Builder 2.0.0
Binary MLM Plan 1.0.2
Review Assistant 4.0
SSIS Data Flow Components 1.8
Maulik Shah 1.0
GetOrgChart 2.4.91
ODBC Driver for SQL Azure 2.4
EntityDAC 2.0
CarMax Clone Script 1.0
Mega Menu Magento 2 2.0
Luxand FaceSDK 6.5.1
Data Puppy Lite (64-bit) 1.0
Bytescout BarCode Reader SDK 10.1.0.1778
Top Code
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Online Food Ordeing System 1.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Code Listing by Richard Medlock

Code 1-10 of 12   Pages: Go to  1  2  Next >>  page  






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.



2 functions:

enable(h)
disable(h)

where h is the handle to a UI control.

saves writing a set function.



GetSysCol(format,color)

GETSYSCOL

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.

Example:
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.

Example:

[BoardNames, BoardIDs, Inputs, Outputs] = ListBoards('winsound')

BoardNames =

'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...