Rank: 2625 based on 42 downloads (last 30 days) and 6 files submitted
photo

Lior Cohen

E-mail
Company/University
Applied Materials
Lat/Long
31.960716, 34.790848

Personal Profile:

 

Watch this Author's files

 

Files Posted by Lior Cohen View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Jan 2013 Screenshot Axis context menu for toggling X/Y scale and limits Adds a special context menu to the axis that helps toggling the scale and limits of the axes. Author: Lior Cohen gui, data exploration 4 1
11 Jan 2013 Screenshot Axis Context Menu Adds a uicontextmenu to x and/or y axis of an axes. The regular axes uicontextmenu stays intact. Author: Lior Cohen data exploration, gui 7 0
28 Nov 2009 DEPFUN_TO_DIR - Advanced Project Files Creator DEPFUN_TO_DIR creates a directory with all your project files including .fig, .mat, .txt and .xls. Author: Lior Cohen depfun, project files, dependant 2 0
  • 5.0
5.0 | 1 rating
08 Jul 2009 Screenshot GUI with memory - UIREMEMBER & UIRESTORE Like many apps, now Matlab GUI can easily "remember" its last state, using these functions. Author: Lior Cohen gui, restore, remember, memory, last state 17 2
  • 4.5
4.5 | 2 ratings
28 Mar 2005 Snap Line Snaps line object to various constraints. Author: Lior Cohen data exploration, snap, line, grid, constraint, graphics 3 0
Comments and Ratings on Lior Cohen's Files View all
Updated File Comment by Comments Rating
01 Oct 2014 DEPFUN_TO_DIR - Advanced Project Files Creator DEPFUN_TO_DIR creates a directory with all your project files including .fig, .mat, .txt and .xls. Author: Lior Cohen Yaad

20 May 2014 Axis context menu for toggling X/Y scale and limits Adds a special context menu to the axis that helps toggling the scale and limits of the axes. Author: Lior Cohen Jonathan

I have been using this extremely useful code for setting axis properties via a context menu. However, I recently migrated from Windows to a Mac and for some reason, the X/Y axis context menus just doesn’t work anymore. I can set a context menu for an axes or line object manually and it works fine, but the YUIContextMenu and XUIContextMenu set by this code don’t seem to work. If you have any ideas for a solution, I would be most appreciative!

17 May 2011 GUI with memory - UIREMEMBER & UIRESTORE Like many apps, now Matlab GUI can easily "remember" its last state, using these functions. Author: Lior Cohen Georg

Perfect!
I missed this function for a long time.
Mathworks should add your funtion to Matlab !!!

18 Dec 2010 GUI with memory - UIREMEMBER & UIRESTORE Like many apps, now Matlab GUI can easily "remember" its last state, using these functions. Author: Lior Cohen Thibaut Leroy

Good job!

I would create only one function, but it's another approach. To add uitable's data, you can add this as default properties:
def.uitable = {'Data'};
(it should work)

And instead of having uiremember and uirestore at each uicontrol CreateFcn or DeleteFcn function, I prefer to pass all the objects at one time (all the children of the Graphic Current Figure here):
uiremember(findobj(gcf,'-depth',inf))

18 Dec 2010 GUI with memory - UIREMEMBER & UIRESTORE Like many apps, now Matlab GUI can easily "remember" its last state, using these functions. Author: Lior Cohen Thibaut Leroy

Contact us