MATLAB Release Notes - The MathWorks - #351

/ 505


catalogue search
P. 351
P. 352
P. 353
P. 354
P. 355
P. 356
P. 357
P. 358
P. 359
P. 360
P. 361
P. 362
P. 363
P. 364
P. 365
P. 366
P. 367
P. 368
P. 369
P. 370
P. 371
P. 372
P. 373
P. 374
P. 375
P. 376
P. 377
P. 378
P. 379
P. 380
P. 381
P. 382
P. 383
P. 384
P. 385
P. 386
P. 387
P. 388
P. 389
P. 390
P. 391
P. 392
P. 393
P. 394
P. 395
P. 396
P. 397
P. 398
P. 399
P. 400


See other catalogues for The MathWorks

Text version of the page
Creating Graphical User Interfaces (GUIs), MATLAB Version 7.0.1 (R14SP1)
Compatibility Considerations
You should not use these components in GUIs that you expect to run in earlier MATLAB versions.
You can export a GUI that contains a panel, button group, or ActiveX component from GUIDE to a single M-file that does not require a FIG-file. However, you will not be able to run that M-file in MATLAB versions earlier than 7.0.
Comments Now Optional for Newly Generated Callback Functions
In prior releases, GUIDE automatically generated comment lines for each callback that you added to an existing GUI M-file. For example:
% — Executes during object deletion, before destroying properties, function figure1_DeleteFcn(hObject, eventdata, handles) % hObject handle to figure1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
Comment lines are now optional for most callbacks. If you want the comments to be generated automatically when you add a callback, check the new preference Add comments for newly generated callback functions on the GUIDE panel of the Preferences dialog box. The factory default is checked.
If this preference is unchecked, GUIDE includes the comment lines only for callbacks that are automatically included for the GUIDE template you chose. No comments are included for any other callbacks that are added to the M-file.
Windows XP Display of Push and Toggle Buttons
Push buttons and toggle buttons with background colors other than the default display differently in Windows XP.
Compatibility Considerations
For Windows XP, GUI push buttons are displayed with a white background. If you have specified a background color other than the default, that color
327

pageCatalog pdf di En 2012-06-22-01