External Interfaces - The MathWorks - #351

/ 649


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
Getting Started with COM
Techniques Demonstrated
• Registering a control for use on your system.
• Writing a handler for one of the control's events and using the event to execute MATLAB plotting commands.
• Writing a resize function for the figure that manages the control's size as users resize the figure.
Using the Control
This example assumes that your data samples are organized in columns and that the first cell in each column is a title, which is used by the legend. See "Complete Code Listing" on page 8-18 for an example of how to load data into the control.
Once thedataisloaded, clickthe column to plot thedata. Thefollowing picture shows a graph of the results of Test2 and Test3 created by selecting column B and dragging and releasing on column C.
8-17

pageCatalog pdf di En 2012-06-22-01