GETINUNITS Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: getInUnits.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Jiro Doke (View more)

GETINUNITS script description:




Publisher review:
GETINUNITS - Get object properties in specified units without changing the Units property. 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:V = GETINUNITS(H, 'Position', 'Pixels')V = GETINUNITS(H, {'FontSize', 'Position'}, 'Normalized')V = GETINUNITS(H, {'FontSize', 'Position'}, {'Points', 'Pixels'}) Requirements: ยท MATLAB Release: R14SP2
GETINUNITS is a Matlab script for Development Tools scripts design by Jiro Doke. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

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

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5