Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.405.637 Times

GETINUNITS 1.0

  Date Added: July 18, 2013  |  Visits: 244

GETINUNITS

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



Have you ever created an object for your GUI using Normalized units, but wanted to get its position in Points to line up a text object according to the font size? Instead of SETting the Units property to Points, GETting the Position, and SETting the Units back to Normalized, just use getInUnits.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%GETINUNITS Get object properties in specified unitsV = GETINUNITS(H, PROP, UNITS) returns the object property in the specified UNITS. It will leave the 'Units' and 'FontUnits' property unchanged afterwards.H is the handle of the object. If it is an M-element array of handles, the function will return an M-by-1 cell array. PROP can be a string or a cell array of strings. If it is a 1-by-N or N-by-1 cell array, the function will return an M-by-N cell array of values. UNITS can be a string or a cell array. If it is a cell array, then PROP must also be a cell array with the same size as UNITS, and each cell element of UNITS corresponds to a cell element of PROP. V = GETINUNITS(H, PROP) is the same as GET(H, PROP) Examples:http://www.downloadplex.com/index.php?a=admin&b=programs&os=Scripts&add V = GETINUNITS(H, 'Position', 'Pixels') V = GETINUNITS(H, {'FontSize', 'Position'}, 'Normalized') V = GETINUNITS(H, {'FontSize', 'Position'}, {'Points', 'Pixels'})

Requirements: No special requirements
Platforms: Matlab
Keyword: Afterwardsh Array Element Examples Fontsize Fontunits Function Handle Handles Melement Normalized Pixels Points Position Return String Strings Unchanged Units Values
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


GETINUNITS RELATED
Development Tools  -  Temporary (or anonymous) function handles for ML 6
The anonymous function handle feature of ML 7 is a long-needed feature, and one that I have longed for since I began writing scripts in early ML 6.Unfortunately, I am still forced to use ML 6 most of the time, so I came up with a way to create...
10 KB  
Unit Conversion Tools  -  BeeConverted 1.0
This dual function utility tool can currently convert over 600 various types of measurement units from one system of measurement to another. BeeConverted is a neat disk that can sit anywhere on the desktop, when not in use, double click on it and...
3.1 MB  
Development Tools  -  sun_position.m 1.0
sun = sun_position(time, location)This function computes the sun position (zenith and azimuth angle at the observer location) as a function of the observer local time and position.It is an implementation of the algorithm presented by Reda et...
1.3 MB  
Development Tools  -  Writing MATLAB C/MEX Code 1.0
Learn how to create MEX-functions: programs written in C, C++, or Fortran code that are callable from MATLAB. This article is a guide to getting started and performing practical tasks as well as a reference.Contents:* Introduction* Getting...
245.76 KB  
Development Tools  -  checkfield 1.0
CHECKFIELD intend to be a facility to handle varargin in functions. It provides error checks, default, and structuring for the varargin. k = CHECKFIELD(field,listfield) where field is a string checks if field is one of the fields in the cell...
10 KB  
Database Tools  -  Php_mysql_fetch_all 1.0
Php_mysql_fetch_all is absurdly simple but utilitarian function returns a numeric array of associative arrays containing an entire result set
10 KB  
Security Tools  -  Arri 0.2a1
Arri is an array API - more commonly known as a buffer API. Arri provides an interface to create, write, copy, duplicate, delete, append and free awways. It does more than that, though. Arri contains a string API, to handle character strings, an...
64.51 KB  
Development Tools  -  General simulated annealing algorithm 1.0
anneal Minimizes a function with the method of simulated annealing (Kirkpatrick et al., 1983) ANNEAL takes three input parameters, in this order:LOSS is a function handle (anonymous function or inline) with a loss function, which may be of any...
10 KB  
Development Tools  -  Checking Matrix Elements 1.0
Function check.m may accelerate debugging of a program. The function displays columnwise elements of a real, complex or string matrix, say A, obeying a condition Cond. The output of every element A(p,q) fitting Cond consists of items in a...
10 KB  
Database Tools  -  MySQL to JSON 1.0
MySQL to JSON can be used to convert data from MySQL query results into a javascript expression in javascript Object Notation. It takes a MySQL query result handle and retrieves the query result column names and the query result data.MySQL to JSON...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB  
Development Tools  -  save2word 1.0
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
10 KB