From: Scott Hirsch on 5 Mar 2010 12:41 Jumping in with a few quick thoughts: Øyvind - sorry to hear about your disappointment with the lack of enhancements to the GUI building system. We know that you aren't the only user who is waiting anxiously for an upgrade to our capabilities in this area. The feature that I'm REALLY excited about is buried in some pretty obscure text on the release highlight page: "New System objects for stream processing in MATLAB, with over 140 supported algorithms in Video and Image Processing Blockset and Signal Processing Blockset" Short story: You can now use some Simulink blocks directly in MATLAB (Simulink not required). Longer story: If you ever program time- or sample-based algorithms in MATLAB, this introduces a way-better programming model. Ditto for more generic stream processing, like looping through data in an arbitrarily large file. States and incrementing are managed for you, allowing you to write code that looks something like this, where I manage a filter, audio input, and audio output as 3 of these objects Filter, AudioIn, and AudioOut. while ~isDone(AudioIn) sig = step(AudioIn); filteroutput = step(Filter, sig); step(AudioOut, filteroutput); end It's not my bag, but these also play with Fixed Point, and to some extent with embedded MATLAB, allowing to convert your MATLAB code using system objects to C code. - scott "Øyvind " <oyvist(a)gmail.com> wrote in message <hmqm1a$cnv$1(a)fred.mathworks.com>... > "Pekka Kumpulainen" <pekka.nospam.kumpulainen(a)tut.please.fi> wrote in message <hmqkhk$92j$1(a)fred.mathworks.com>... > > R2010a is now available. You can see what's new from > > http://www.mathworks.com/ > > Thanks. Quickly scanned the release notes, and there seem to be mostly minor changes. > > Absolutely dreadfully disappointed (as usual) that there is no update to the GUI system. I need to start looking around for something other than Matlab, but the task of learning a new language and porting my project is extremely daunting... > > Aargh.
From: Eric Diaz on 7 Mar 2010 15:42 Hi TMW, While on the topic of Matlab GUI's, I would like to suggest adding if not available (and, if available, to make them easier to implement) ... 1) the functionality of having multiple lines of text for static text objects. --Rationale: I have often wanted to have two or three lines of descriptive static text in a static text box, however, I have not found it possible to do so. For example, maybe I have only a constrained amount of horizontal space to work with, but I have plenty of vertical space to wrap text into. I have looked into using the max/min properties for the static text box in guide, but it appears that this property does not work for static text boxes, only for editable text boxes. 2) the functionality of being able to rotate gui objects in guide. --Rationale: I have often wanted to rotate a piece of static text to be vertical in guide, rather than horizontal. This should be a feature that is available. 3) colorbar outside a given guide axis. --Rationale: I have often had an image in a given guide axis that perhaps I want a colorbar next to. The problem is that the colorbar appears inside the axis and shrinks my image, messes up the alignment of scrollbars wrt the actual image, and then when I get rid of the colorbar my image is still shrunk. I have tried to set the colorbar properties to have location eastOutside, but it doesn't help. I would like to see the colorbar outside the guide axis, in the empty space outside the axis. Otherwise, when designing your gui, how might one plan for this image shrinking and location of colorbars, easily. Perhaps, this isn't the right place for this comment, but I think that this is another example of something that TMW should expect the user might want. 4) mixing of logical interactivity with numeric matrix in uitable --Rationale: I have found that when I have numeric data coming into two columns that is non-editable and when I want a 3rd column that is logical and editable, then matlab does not allow me to edit the logical checkbox and returns an error "cannot convert logical edit to numeric matrix". This is obvious but also a nuisance. OK, well, I think 4 examples is sufficient for now. “Imagination is more important than knowledge. For knowledge is limited to all we now know and understand, while imagination embraces the entire world, and all there ever will be to know and understand.” -- albert einstein Eric Diaz
From: Doug Schwarz on 7 Mar 2010 18:49 In article <hn132t$97s$1(a)fred.mathworks.com>, "Eric Diaz" <eric.diaz(a)gmail.com> wrote: [snip] > 1) the functionality of having multiple lines of text for static text > objects. Use a cell array of strings for the String property. [snip] > 2) the functionality of being able to rotate gui objects in guide. > --Rationale: I have often wanted to rotate a piece of static text to be > vertical in guide, rather than horizontal. This should be a feature that is > available. This is a good suggestion and I have added it to my uibutton function. (In spite of the name, it can be used to create something that looks like a text uicontrol.) I just uploaded the new version. <http://www.mathworks.com/matlabcentral/fileexchange/10743> -- Doug Schwarz dmschwarz&ieee,org Make obvious changes to get real email address.
From: Eric Diaz on 7 Mar 2010 22:26 Hye Doug, Thanks for your input. I thought I had tried that "cell array" technique in the typical staticTextBox_callback or create_fxn, but to no avail though. I guess I can try it again. Two thumbs up on your uibutton function though!, Cheers, Eric Diaz Doug Schwarz <see(a)sig.for.address.edu> wrote in message <see-7311E7.18493607032010(a)news.frontiernet.net>... > In article <hn132t$97s$1(a)fred.mathworks.com>, > "Eric Diaz" <eric.diaz(a)gmail.com> wrote: > > [snip] > > > 1) the functionality of having multiple lines of text for static text > > objects. > > Use a cell array of strings for the String property. > > [snip] > > > > 2) the functionality of being able to rotate gui objects in guide. > > --Rationale: I have often wanted to rotate a piece of static text to be > > vertical in guide, rather than horizontal. This should be a feature that is > > available. > > This is a good suggestion and I have added it to my uibutton function. > (In spite of the name, it can be used to create something that looks > like a text uicontrol.) I just uploaded the new version. > > <http://www.mathworks.com/matlabcentral/fileexchange/10743> > > -- > Doug Schwarz > dmschwarz&ieee,org > Make obvious changes to get real email address.
From: Øyvind on 8 Mar 2010 03:21
Doug Schwarz <see(a)sig.for.address.edu> wrote in message <Qfbkn.56021$0N3.23829(a)newsfe09.iad>... > Øyvind wrote: > > Absolutely dreadfully disappointed (as usual) that there is no update to > > the GUI system. > > What kinds of changes to the GUI system were you hoping for? What do > you find difficult or impossible now? > > > -- > Doug Schwarz > dmschwarz&ieee,org > Make obvious changes to get real email address. OK, this is slightly rambling, and just touches on my two main objections to the GUI system in Matlab. I have little programming experience beyound Matlab, but my general impression when I look around is that other programming environments have simply much more advanced capabilities than Matlab, without compromising ease of use. (My one time trying NetBeans I made a beautiful GUI in 10 minutes starting from scratch with no previous experience, and not understanding java. GUIs made by GUIDE always come out ugly and awkward-looking. Also, it is difficult to get a uniform 'look' across GUIs that belong together--border sizes, button sizes, etc.) A short wish list: 1) A better gui designer than GUIDE, which has no real layout management. You get to place uicontrols absolutely, specified in pixels or characters, or 'normalized'. The resizing behaviour is atrocious. Writing a ResizeFcn is painstaking, and difficult to adapt to changes in the GUI. The production of a .fig-file is unappealing, I'd like the layout to be in pure matlab-code. The alternative is to write the layout code by hand, which is difficult and tedious, and making small changes later (like adding an uicontrol) can be time-consuming. There exist some user-contributed layout managers, like GridBagLayout, but these are also difficult to use, feel a bit 'fragile', and slows down execution speed. So I'd like a good gui designer which produces Matlab code and uses proper layout management. 2) Improved uicontrols. Right now they seem to be gutted swing components, with most of the functionality removed. This is done to make them easier to use, I'm sure, but in some cases it removes essential functionality. Common widgets, like spinners, are unavailable. You can add them in using java code, but the interface is hard to figure out if you have no java experience, and there is little documentation. If you are tempted to use undocumented features of Matlab to enhance your GUIs, Mathworks keeps threatening to remove or change functionality without warning. I prefer a more object-oriented approach to the current set/get-interface. You can get this by using java or the 'handle' function, but this is awkward, and the 'handle' function is undocumented and can be changed in future versions. |