| Date | File | Comment by | Comment | Rating |
|---|---|---|---|---|
| 05 Nov 2009 | Compression Routines Compress Matlab variables in the workspace. (supports cells, structs, matrices, strings, objects) | 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. |
|
| 29 Oct 2009 | GetKeyWait Wait a certain time for a single keypress (v2.0, apr 2009). | Hopkins, Jesse | 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 | Hopkins, Jesse | 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 | Hopkins, Jesse | Using R2008b an exception occurs at line 24 of dunzip:
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) | Hopkins, Jesse | Thank you for this submission. I added the following line which helped the code-folding not get confused about "end" used an array-index:
this would help in a situation like this:
|
|
| 21 Jul 2009 | FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle | Hopkins, Jesse | I've actually solved my problem. After reading this page: http://undocumentedmatlab.com/blog/uicontrol-callbacks/,
In summary:
now:
|
|
| 21 Jul 2009 | FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle | Hopkins, Jesse | I've been using this file for about a year now (great work Yair!), and a very weird issue has crept up now that I've upgraded from R2007b to R2008b. What happens to me is that I have a few custom java-objects instantiated (they are a modified version of the java-swing table), with userdata and function callbacks associated with them via calls like: set(myTableObj,'MouseReleasedCallback',@callbackfcn);
After findjobj returns, all of the userdata and callbacks have been cleared out. I've stepped through findjobj line by line, and cannot find a culprit. In fact, when I get to the "return" line on 279, the userdata and function callbacks are still properly associated with the java-objects. However, once findjobj returns, all userdata and function callbacks of my java-objects are cleared to an empty matrix. Any thoughts on this? |
|
| 28 Apr 2009 | Explore Convenient way to open windows explorer. | 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. |
|
| 25 Nov 2008 | genpath_exclude Executes like genpath, but can ignore specified directories. | Hopkins, Jesse | Thanks for the comment Thierry. I did look at modifying genpath, and for some reason on my first attempt, the excluded path would still be added, but not the tree beneath it. That is when I went off looking into the regexp business to remove the offending paths. Taking a second look, I realize that it is possible to modify genpath directly accomplish this goal, which should operate faster since it wouldn't recurse on the ignored directories. |
|
| 20 Nov 2008 | FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle | Hopkins, Jesse | Running this in R2008a brings up the warning:
|
|
| 20 Nov 2008 | Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some | Hopkins, Jesse | Works pretty good, but it doesn't automatically ignore "private" directories and "@" directories like genpath does. You can easily add "private" to the list of ignored directories, however being able to skip over all "@" directories requires some code change. |
|
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