Rank: 2778 based on 47 downloads (last 30 days) and 4 files submitted
Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Sven View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
10 Aug 2007 Get application data directory get the application's data directory platform independent Author: Sven Probst path, directories, files, home user myfiles eig... 8 0
10 Aug 2007 Get user home directory get the user's home directory platform independent Author: Sven Probst path, directories, files, home user myfiles eig... 15 3
  • 5.0
5.0 | 3 ratings
06 Jan 2005 Screenshot Stateflow Alignment Tool Stateflowalign is a simple GUI to align and modify graphical stateflow objects. Author: Sven Probst stateflow, edit, align, adjust, justify, graphical 12 1
  • 4.0
4.0 | 1 rating
06 Jan 2005 Get Current Stateflow Object - gcsfo The function gcsfo returns all current (=selected) graphical stateflow objects. Author: Sven Probst stateflow, gcb, current, selected, object 12 3
  • 2.5
2.5 | 2 ratings
Comments and Ratings on Sven's Files View all
Updated File Comment by Comments Rating
08 Feb 2012 Get user home directory get the user's home directory platform independent Author: Sven Probst Eric

29 Apr 2009 Stateflow Alignment Tool Stateflowalign is a simple GUI to align and modify graphical stateflow objects. Author: Sven Probst Dalon, Thierry

The idea of a stateflow alignment tool is good. Thanks for sharing this. I would update a version without dependence to gcfso (use ML standard sfgco) and put all subfunctions in main GUI file.
If you want to use the subfunctions, it would be nice if renamed to sf_cs and sf_al for example.
Else functionality seems to work good.

29 Apr 2009 Stateflow Alignment Tool Stateflowalign is a simple GUI to align and modify graphical stateflow objects. Author: Sven Probst Dalon, Thierry

10 Aug 2008 Get user home directory get the user's home directory platform independent Author: Sven Probst O'Reilly, Martin

Nice bit of code - just what I was looking for.

@ andy a: getenv('USERPROFILE') gets the root of your Windows profile. By default your "My Documents" folder will be directly under this root. Fowever, getenv('USERPROFILE') will not get your "My Documents" folder if you have changed it from the default (e.g. to another partition to separate data and operating system files).

23 Jul 2008 Get user home directory get the user's home directory platform independent Author: Sven Probst a, andy

Why not just this

if ispc; userdir= getenv('USERPROFILE');
else; userdir= getenv('HOME');
end

Contact us