
Undocumented Secrets of MATLAB
®
-Java Programming346
The BDE (Block Diagram Editor?) package is a graphical block-diagram editor available up
to R2011a. I do not know the diagrams’ purpose (note that BDE was redesigned in R2009b,
breaking the code below):
162
bde = com.mathworks.bde.clients.BDEDesktop; % this fails in R2009b +
diagram = com.mathworks.bde.diagram.Diagram;
client = com.mathworks.bde.clients.DiagramViewDTClient('YMA',diagram);
bde.addClient(client,'YMA');
References
1. http://blogs.mathworks.com/desktop/2009/07/06/calling-java-from-matlab/#comment-6836 (or http://
bit.ly/cUbHnQ).
K13163_Book.indb 346 11/8/2011 8:08:47 PM