home
Small untility to change units of a Matlab .fig file
Last updated May 18, 2011.
By Nasser M. Abbasi

This small untility will allow one to change all the units on UIcontrols in a fig file. It will ask for the fig file name, change the field 'Units' in each UIcontrol in the fig file and overwrite the same fig file.

Image screen_shot

To use, download the following zip file to the some folder on your computer, unzip it to extract the 2 files in it.

make sure the Matlab path can see that folder.

Then from Matlab console, type

change_figure_units

Any bugs found, please let me know and I will fix them.

change_figure_units_code.zip

Code listing

  1. change_figure_units.m
  2. nma_set_figure_position.m
  3. change_figure_units.fig



me 2011-05-18