Display message window Matlab script

SPONSORED LINKS

    Specification

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

Display message window script description:




Publisher review:
Display message window - A simple message window similar to msgbox without button SHOWINFOWINDOW creates a small dialog window which displays a user-defined message. It is quite like MATLAB's msgbox but without an OK button. Although msgbox could be used for the simple display of a message that informs the user about a process being performed (and is not expected to last long, else a waitbar/timebar could be used but at a cost of running time), the presence of the OK button that closes the window on press could be annoying.

SHOWINFOWINDOW resolves this problem by removing the button. Additionally, if you wish to write a script or create a GUI where you do not wish the user to accidenatlly hit the close button in the upper right corner of the window, you can remove the comment on line 82 of the code concerning the 'CloseRequestFcn' property of the dialog.

However, if you do that you must assign a handle to showinfowindow so you can change its 'CloseRequestFcn' property to 'closereq' when your process is done or else you might end up with a non-closing window! If that happens, one way to resolve this could be to use the findobj function:non_closing_window_handle = findobj('CloseRequestFcn','');set(non_closing_window_handle,'CloseRequestFcn','closereq')close(non_closing_window_handle)Although this script was created for something trivial, I found it useful especially in my GUIs where I wanted to briefly display some information in a very simple way and especially when I wanted to avoid someone causing such windows to close when running a process within a GUI, probably resulting in errors. Further help on its usage with some syntax examples can be found inside the code. Requirements: ยท MATLAB Release: R14SP3
Display message window is a Matlab script for Development Tools scripts design by Panagiotis Moulos. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Display message window - A simple message window similar to msgbox without button

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