Rank: 1006 based on 125 downloads (last 30 days) and 3 files submitted
photo

Jesse Hopkins

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Jesse View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Nov 2009 Explore Convenient way to open windows explorer. Author: Jesse Hopkins windows explorer 33 4
  • 1.0
1.0 | 1 rating
29 Oct 2009 Compression Routines Compress Matlab variables in the workspace. (supports cells, structs, matrices, strings, objects) Author: Jesse Hopkins compression java 62 3
  • 3.0
3.0 | 1 rating
27 Oct 2009 genpath_exclude Executes like genpath, but can ignore specified directories. Author: Jesse Hopkins cm, svn, path, cvs 30 2
Comments and Ratings by Jesse View all
Updated File Comments Rating
05 Nov 2009 Compression Routines Compress Matlab variables in the workspace. (supports cells, structs, matrices, strings, objects) Author: Jesse Hopkins

Wow I never did try it with any single matrix that large. You could probably still save much memory by splitting up that large matrix, perhaps compress the 514x435 2-D matrices, so that you have 217 compressed variables.

CompressLib could probably get some smarts to compress the input in "chunks", but I probably won't be able to get around to that for a while.

29 Oct 2009 GetKeyWait Wait a certain time for a single keypress (v2.0, apr 2009). Author: Jos

Just what I was looking for

26 Oct 2009 Rapid lossless data compression of numerical or string variables Rapidly compresses (or decompresses) Matlab variables in memory Author: Michael Kleder

Needed to make the following changes to eliminate above java exceptions (in R2008b)

dzip.m line 48: change "DeflaterOutputStream" to "GZIPOutputStream"

dunzip.m line 21: change "InflaterInputStream" to "GZIPInputStream"

21 Oct 2009 Rapid lossless data compression of numerical or string variables Rapidly compresses (or decompresses) Matlab variables in memory Author: Michael Kleder

Using R2008b an exception occurs at line 24 of dunzip:
??? Java exception occurred:
java.util.zip.ZipException: unknown compression method

at java.util.zip.InflaterInputStream.read(Unknown Source)

at java.io.FilterInputStream.read(Unknown Source)

at com.mathworks.mlwidgets.io.InterruptibleStreamCopier.copyStream(InterruptibleStreamCopier.java:97)

at com.mathworks.mlwidgets.io.InterruptibleStreamCopier.copyStream(InterruptibleStreamCopier.java:76)

Any thoughts on what needs to be changed?

21 Oct 2009 Syntax highlighting "wordfile" for UltraEdit Insert this file into UltraEdit's file wordfile.uew (previously wordfile.txt) Author: Nicky McLean

Thank you for this submission. I added the following line which helped the code-folding not get confused about "end" used an array-index:
/Ignore Fold Strings = "(end" "end)" "end:" ":end" "end+" "+end" "-end" "end-"

this would help in a situation like this:
if 1
 array(end+1) = 2;
end

Comments and Ratings on Jesse's Files View all
Updated File Comment by Comments Rating
06 Nov 2009 Compression Routines Compress Matlab variables in the workspace. (supports cells, structs, matrices, strings, objects) Author: Jesse Hopkins Sebastiaan

Well, I started to think about that yesterday, to chop my matrix into smaller blocks by octree indexing or maybe just a simple block approach since I know that the data is cluttered together and large blocks are 0 (and then compress these smaller blocks).

I wonder which function is used to compress variables before writing them to a MAT file. If the contents could be written directly to a variable in stead of a file, this would get rid of the size limit of the java function.

05 Nov 2009 Compression Routines Compress Matlab variables in the workspace. (supports cells, structs, matrices, strings, objects) Author: Jesse Hopkins Hopkins, Jesse

Wow I never did try it with any single matrix that large. You could probably still save much memory by splitting up that large matrix, perhaps compress the 514x435 2-D matrices, so that you have 217 compressed variables.

CompressLib could probably get some smarts to compress the input in "chunks", but I probably won't be able to get around to that for a while.

05 Nov 2009 Compression Routines Compress Matlab variables in the workspace. (supports cells, structs, matrices, strings, objects) Author: Jesse Hopkins Sebastiaan

Nice utility, but it fails for large matrices. I have a single matrix of 514x435x217 consuming 190MB. Trying to compress it gives a heap space error:

??? Java exception occurred:
java.lang.OutOfMemoryError: Java heap space

Error in ==> CompressLib>CompressLib.compress at 101
g.write(byteData);
 

28 Apr 2009 Explore Convenient way to open windows explorer. Author: Jesse Hopkins Hopkins, Jesse

Eric, the point of this script is so that you don't have to type a full path-name to the explorer command. For example, say you have a m-file called my_func.m in some location on your matlab path. If you want to open an explorer window, you can simply type 'explore my_func'. Otherwise you would have to type !explorer c:\path\to\my_func.

16 Apr 2009 Explore Convenient way to open windows explorer. Author: Jesse Hopkins Eric

Or just use the built in explorer command in DOS along with the ! functionality. Try from the command line:

!explorer (Will open explorer window at top level of windows directory)

!explorer . (Will open explorer window in PWD)

!explorer c:/temp (Will open explorer window at specific address)

Top Tags Applied by Jesse
cm, compression java, cvs, path, svn
Files Tagged by Jesse View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Nov 2009 Explore Convenient way to open windows explorer. Author: Jesse Hopkins windows explorer 33 4
  • 1.0
1.0 | 1 rating
29 Oct 2009 Compression Routines Compress Matlab variables in the workspace. (supports cells, structs, matrices, strings, objects) Author: Jesse Hopkins compression java 62 3
  • 3.0
3.0 | 1 rating
27 Oct 2009 genpath_exclude Executes like genpath, but can ignore specified directories. Author: Jesse Hopkins cm, svn, path, cvs 30 2
 

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