MATLAB Answers

warning dialog

3 views (last 30 days)
pink
pink on 18 Jun 2011
I want to use the data below for the logic
Data =
'' ''
'' ''
'' ''
'' ''
if %Data
warndlg('warningstring')
else
end

Accepted Answer

Image Analyst
Image Analyst on 18 Jun 2011
Look up isempty(). And you probably want to wrap your warndlg inside a uiwait(). If it's like msgbox(), it will continue with your code, blasting right past that warning message unless you put it inside a uiwait().
  9 Comments
pink
pink on 19 Jun 2011
thanks walter..

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!