About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconMenuBar (Scripts) Publisher's description

This function MenuBar, allows the user to create menu's anywhere in a figure

This function MenuBar, allows the user to create menu's anywhere in a figure
it replaces UIcontextmenu of UIpanels by real menu bars.

menubar(figure_handle) or menubar

Mouse hover, and window-resize updates can be enabled by

menubar('start',figure_handle) or menubar('start')

Or alternatively by:



%Creat figure with uipanel
uipanel1 = uipanel('Units','Pixels','Position',[10 200 400 200]);

%Attach a contextmenu (right-mouse button menu)

%Add menu-items to the context menu
hchild=uimenu(menu_panel1, 'Label', 'Random Pixels');
uimenu(hchild, 'Label', 'Red','Callback','disp(''Red callback'')');
uimenu(hchild, 'Label', 'Blue','Callback','disp(''Blue callback'')');

%Make form the context menu a real menubar

%Add some other menu-buttons
hchild=uimenu(menu_panel1, 'Label', 'Clear','Callback','disp(''Clear'')');
hchild=uimenu(menu_panel1, 'Label', 'Help');
uimenu(hchild, 'Label', 'Info','Callback','disp(''Info callback'')');

%Update the menubar

%Enable the mouse over and resize effects

System Requirements:

MATLAB 7.11 (2010b)
Program Release Status: Major Update
Program Install Support: Install and Uninstall

Is MenuBar (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.