Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
14 Aug 2009 Set figure window to be always on top. Changes the always-on-top window state. Author: Per-Anders Ekstrom Charbu, Christophe

Well done. Thank you.

I have tested on the (R2007b) (R2008b)
and it works good.

PS: In the release R2008b, a warning occur :
Warning: figure JavaFrame property will be obsoleted in a future release.

06 Jan 2009 cell2str Convert a 2-D cell array of strings to a string in MATLAB syntax. Author: Per-Anders Ekstrom Derian, Craig

took some small mods to work for structure dynamic field name creation, but very nice

02 Dec 2008 MATLAB Unisol GUI for playing Unisol puzzles Author: Per-Anders Ekstrom Aldahiyat, Husam

Wow I love it!
So professional, with all the small details and whatnot.
Comments are appreciated, so are the many options.
You rock!

07 Nov 2008 MATLAB Hexxagon Graphical User Interface for playing the Ataxx clone Hexxagon. Author: Per-Anders Ekstrom Aldahiyat, Husam

Pretty cool, but the boxes on the menu screen are blank.
I'm on MATLAB 7.4.

14 Aug 2008 Delete unconnected lines Delete unconnected lines under a Simulink system Author: Per-Anders Ekstrom Maier, Christin

Hi, I am trying to make a script, which deletes all contents of a simulink block diagram except its subfunctions, Ports and the lines between Subfunctions. Do you have any idea? (I know that's not the right place for the question but i am really in trouble)

03 Jul 2008 Sudoku (Dancing Links Solver) SUDOKU Graphical User Interface for playing Sudoku-Puzzles. Author: Per-Anders Ekstrom dtduh, tddt

fgjrtu

24 Jun 2008 Snake (the classic Nokia game) Graphical User Interface for playing "Nokia Classic Game" Snake. Author: Per-Anders Ekstrom Schneider, E

Works fine, I like the colors. Thanks.

03 Jun 2008 Delete unconnected lines Delete unconnected lines under a Simulink system Author: Per-Anders Ekstrom Dalon, Thierry

Very useful!
I've added this into my sl_customization.

22 May 2008 cell2str Convert a 2-D cell array of strings to a string in MATLAB syntax. Author: Per-Anders Ekstrom Woods, Virginia

Works great. Thanks

06 May 2008 cell2str Convert a 2-D cell array of strings to a string in MATLAB syntax. Author: Per-Anders Ekstrom Iñigo, Alfredo

aa

14 Mar 2008 MATLAB Hexxagon Graphical User Interface for playing the Ataxx clone Hexxagon. Author: Per-Anders Ekstrom Tarajan, Elmar

Great Game! Thanks a lot! :)

06 Jan 2008 MATLAB Hexxagon Graphical User Interface for playing the Ataxx clone Hexxagon. Author: Per-Anders Ekstrom Hung, Kevin

I have tried it on R2006b and R2007b.

Operating System: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 1)

Java VM Version: Java 1.6.0 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode

05 Jan 2008 MATLAB Hexxagon Graphical User Interface for playing the Ataxx clone Hexxagon. Author: Per-Anders Ekstrom Hung, Kevin

Nice game and GUI. But I run into problem with the first screen after typing hexxagon on Matlab command line. I only get 3 blank boxes. I cannot select single user or double user mode. But if I click on the bottom box, then I can start the game with double user mode.

14 Sep 2007 Sudoku (Dancing Links Solver) SUDOKU Graphical User Interface for playing Sudoku-Puzzles. Author: Per-Anders Ekstrom Ekström, Per-Anders

Hello Kiko Kiko, thanks for mentioning. My first guess is that you have an old Matlab version, this Sudoku game was developed using release R2006a. At line 176 I use a function named arrayfun introduced in R14sp3, so if you have an older version than that it will not work.
Cheers!
P-A

13 Sep 2007 Sudoku (Dancing Links Solver) SUDOKU Graphical User Interface for playing Sudoku-Puzzles. Author: Per-Anders Ekstrom kiko, kiko

Hi,
I think there is a bug around line 176.
kiko

26 Jul 2007 Breakout Pong-like arcade game, a.k.a. Arkanoid/Brickles Author: Per-Anders Ekstrom Masson, Mike

Gameplay Bugs:
-If you catch the ball against the wall and press the paddle up against it, the game goes into an infinite loop of the ricochet sound and freezes; Then Matlab crashed when I closed it. I couldn't duplicate the effect when I tried though.
-It seems if you increase the angle and velocity of the ball and hit the space between two diagonal blocks the ball will go through the diagonal blocks and destroy all of the blocks in its current pathway until it returns to normal movement again. Note: I kind of like this, it makes the game go a bit quicker.

The game is very nice

20 Jul 2007 Snake (the classic Nokia game) Graphical User Interface for playing "Nokia Classic Game" Snake. Author: Per-Anders Ekstrom s, pradheesh

09 Jul 2007 Set figure window to be always on top. Changes the always-on-top window state. Author: Per-Anders Ekstrom Pulley, Reid

This function worked if I stepped through the code, but not running free - I kept getting this error:

??? Attempt to reference field of non-structure array.

Error in ==> setAlwaysOnTop at 54
fJFrame.fFigureClient.getWindow.setAlwaysOnTop(bool);

I inserted a slight pause in the code and it worked great.

pause( 0.1 );
fJFrame.fFigureClient.getWindow.setAlwaysOnTop(bool);

09 Jun 2007 Snake (the classic Nokia game) Graphical User Interface for playing "Nokia Classic Game" Snake. Author: Per-Anders Ekstrom err, wr_

08 Jun 2007 Sudoku (Dancing Links Solver) SUDOKU Graphical User Interface for playing Sudoku-Puzzles. Author: Per-Anders Ekstrom Rami, Gersi

No comment

01 Jun 2007 Breakout Pong-like arcade game, a.k.a. Arkanoid/Brickles Author: Per-Anders Ekstrom Morell, Christophe

Very nice game. I didn't found any bugs. The interface is very nice and easy to use. But the game could be excellent, if you add some bonus hidden in the bricks, like additional life, sticking bracket, bracket with missiles, larger brakers.
Very good work

04 Apr 2007 Sudoku (Dancing Links Solver) SUDOKU Graphical User Interface for playing Sudoku-Puzzles. Author: Per-Anders Ekstrom G, Paul

Excellent code!

28 Mar 2007 Sudoku (Dancing Links Solver) SUDOKU Graphical User Interface for playing Sudoku-Puzzles. Author: Per-Anders Ekstrom Kvamme, Aasmund

Very nice graphics and an excellent logic!

15 Mar 2007 Breakout Pong-like arcade game, a.k.a. Arkanoid/Brickles Author: Per-Anders Ekstrom Ekström, Per-Anders

Great idea!
I will update the file with your new feature.

15 Mar 2007 Breakout Pong-like arcade game, a.k.a. Arkanoid/Brickles Author: Per-Anders Ekstrom Kirk, Joseph

Excellent game! I remember playing this on an Atari... once upon a time. :o) Well written. No bugs that I found.

However, I had problems with the mouse wandering out of the figure window as well, even if I maximized it, and it was often at critical times in the game... so I added a couple lines of code that made a huge difference:

 line 223: case 99 % Move Paddle
 line 224: ptr = get(0,'pointerlocation');
 line 225: pos = get(gcf,'position');
 line 226: set(0,'pointerlocation', [ptr(1) pos(2)+pos(4)/2]);

This puts the up/down pointer location right in the middle of the figure window so it doesn't wander to the top or bottom... (and pressing ALT -on a PC at least- will release the pointer when desired)

10 Mar 2007 Sudoku (Dancing Links Solver) SUDOKU Graphical User Interface for playing Sudoku-Puzzles. Author: Per-Anders Ekstrom Wang, Zhijun

Very good

08 Mar 2007 Breakout Pong-like arcade game, a.k.a. Arkanoid/Brickles Author: Per-Anders Ekstrom Steen, Johnny

Love this game!

06 Mar 2007 Breakout Pong-like arcade game, a.k.a. Arkanoid/Brickles Author: Per-Anders Ekstrom D'Errico, John

Pretty good. If you do try this, use it with the figure window maximized. Otherwise if your mouse wanders out of the figure window, the paddle stops responding since it uses windowbuttonmotionfcn to follow the mouse. It also got a little testy for me a few times when the paddle would not respond quickly enough. This was probably related to the speed of my cpu though. Also, the number keys seemed not to have any effect on the speed when I tried them.

Tested using R2006b on OS X.

05 Mar 2007 Snake (the classic Nokia game) Graphical User Interface for playing "Nokia Classic Game" Snake. Author: Per-Anders Ekstrom martinez, roger

04 Mar 2007 Sudoku (Dancing Links Solver) SUDOKU Graphical User Interface for playing Sudoku-Puzzles. Author: Per-Anders Ekstrom Karapelit, Ali

02 Mar 2007 N-Puzzle (dynamic size and solver) Graphical User Interface for playing and solving the N-Puzzle game. Author: Per-Anders Ekstrom Don, Joseph

Flawless!

02 Mar 2007 Sudoku (Dancing Links Solver) SUDOKU Graphical User Interface for playing Sudoku-Puzzles. Author: Per-Anders Ekstrom Dean, Eric

Very impressive!

28 Feb 2007 Set figure window to be always on top. Changes the always-on-top window state. Author: Per-Anders Ekstrom Whitaker, Matthew

The trick that I found for setWindowOnTop was to do that Java calls inside awtinvoke which 'invokes the method on the AWT event thread'

This made it a lot more stable. I was not aware of the expose option for drawnow. learn something everyday!!

28 Feb 2007 Set figure window to be always on top. Changes the always-on-top window state. Author: Per-Anders Ekstrom Ekström, Per-Anders

Comment 1. Thank you.

Comment 2. I have not tested this utility using R2006b, if I had I would have written that under the MATLAB Release. Could be the problem since Mathworks might have modified their graphics code. For me the code works under both "Windoze" and OS X.

I find it very strange that you get caught in the 'fighandle' error check though. The error is only invoked if:
~ishandle(hFig) % this you have already tested.
length(hFig)~=1 % since figure handle is a scalar this cannot be the case.
~strcmp('figure',get(hFig,'Type')) % according to documentation, for figures, Type is always the string 'figure'.

What am I'm missing?

Comment 3. I had no idea that there existed a code that did this thing already, my bad. The "core" in your code does exactly the same thing as mine.

28 Feb 2007 Set figure window to be always on top. Changes the always-on-top window state. Author: Per-Anders Ekstrom Whitaker, Matthew

See setWindowOnTop
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=11684&objectType=FILE

for an implementation that has been tested with R14SP2 through R2006b

28 Feb 2007 Delete unconnected lines Delete unconnected lines under a Simulink system Author: Per-Anders Ekstrom Cantamessa, Roberto

28 Feb 2007 Set figure window to be always on top. Changes the always-on-top window state. Author: Per-Anders Ekstrom D'Errico, John

I was expecting to give this a good review. So I tried it out, only to see the following:

>> plot(1:5)
>> setAlwaysOnTop(gcf)

??? Error using ==> setAlwaysOnTop
First Arg. Must be a Figure-Handle

Error in ==> setAlwaysOnTop at 54
fJFrame.fFigureClient.getWindow.setAlwaysOnTop(bool);

I'm fairly confident that gcf is a figure handle. ;-)

>> ishandle(gcf)
ans =
     1

I tried the example shown by the author too:

>> h = figure;
>> setAlwaysOnTop(h,true)
??? Error using ==> setAlwaysOnTop
First Arg. Must be a Figure-Handle

Error in ==> setAlwaysOnTop at 54
fJFrame.fFigureClient.getWindow.setAlwaysOnTop(bool);

All testing was done in R2006b. If I have to hazard a guess, there is an undocumented requirement of Windoze to run this utility.

28 Feb 2007 Set figure window to be always on top. Changes the always-on-top window state. Author: Per-Anders Ekstrom Moisy, F

Simple but very useful. well done.

26 Feb 2007 Sudoku (Dancing Links Solver) SUDOKU Graphical User Interface for playing Sudoku-Puzzles. Author: Per-Anders Ekstrom D'Errico, John

A superb Sudoku tool. Great help. Everything I tried worked as it should. It can generate game layouts for you.

A minor complaint - this tool almost makes solving a puzzle too easy. ;-) Well done anyway.

23 Feb 2007 N-Puzzle (dynamic size and solver) Graphical User Interface for playing and solving the N-Puzzle game. Author: Per-Anders Ekstrom Kirk, Joe

This is an excellent contribution! I'd give it 6 stars if I could. It has everything anyone could want in a sliding puzzle...(except maybe a High Scores table) :o)

07 Feb 2007 N-Puzzle (dynamic size and solver) Graphical User Interface for playing and solving the N-Puzzle game. Author: Per-Anders Ekstrom D'Errico, John

Its the 15 puzzle. Works nicely. Well implemented. Its got help. No problems that I found.

25 Sep 2006 Delete unconnected lines Delete unconnected lines under a Simulink system Author: Per-Anders Ekstrom Wood, Malcolm

Nice. Seems to deal with all the obvious edge-cases.

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com