Search Comments and Ratings

go

   
Date File Comment by Comment Rating
07 Apr 2014 genpath_exclude Executes like genpath, but can ignore specified directories. Author: Jesse Hopkins craq

Thanks for this, it works exactly as advertised. One thing I'd like to do is match for a sequence of 2 directories (i.e. exclude a/b but include a/c and d/b). This doesn't seem possible from within genpath, but might be possible by parsing the output from genpath. According to the comments, you already did this in an older version. Would you be able to put this on the file exchange please? Or does anybody know how to access file history here?

13 Feb 2014 COLORMAP and COLORBAR utilities (Jul 2014) MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc. Author: Carlos Adrian Vargas Aguilera craq

I think I have found a way to modify cbfreeze.m to fix the problem of colorbars changing size and losing their label. Does anybody know how to upload a new version? I'll try emailing Carlos directly aswell.

31 Jan 2014 xml_io_tools Read XML files into MATLAB struct and writes MATLAB data types to XML Author: Jaroslaw Tuszynski craq

Excellent submission! I just managed to reproduce Mohinder's error (No static serializeXML method with appropriate signature exists in Java class com.mathworks.xml.XMLUtils). In my case it was caused by trying to run xmlwrite instead of xml_write.

05 Aug 2013 xml_io_tools Read XML files into MATLAB struct and writes MATLAB data types to XML Author: Jaroslaw Tuszynski craq

30 Mar 2012 INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus. Author: Petter craq

Great functionality for those of us with pre-2011b versions. I had the same error as Vincent, and his solution worked for me too. Off the top of my head I couldn't figure out how to do the lshift and rshift, but I don't actually need them.

09 Dec 2011 MY_XTICKLABELS Replaces XTickLabels with "normal" texts accepting multiline texts and TEX interpreting Author: Pekka Kumpulainen craq

This is a very useful tool. One suggestion though: the text() command gets confused if there is more than one axis, so maybe you can set the current axis to Ha with axes(Ha) before the cell '%% Make XTickLabels'.

23 Nov 2011 COLORMAP and COLORBAR utilities (Jul 2014) MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc. Author: Carlos Adrian Vargas Aguilera craq

I had the same problem as Ines and Makarand, but I used a different solution. It might even be possible to include this in cbfreeze.m

I apply cbfreeze before the label, then the width doesn't change. After adding a second axis with a second colorbar, I find the handle to the old colorbar (as the only unknown colorbar handle) and then put the label on.

colorbarHandles=findobj(gcf,'Tag','Colorbar')
for i=1:length(colorbarHandles)
if colorbarHandles(i)~=cBarAxis2
cBarAxis1=colorbarHandles(i);
end
end
ylabel(cBarAxis1,'my label')

21 Sep 2010 mpgwrite The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti craq

I had a few difficulties installing mpgwrite. Mostly just adjusting the path and /or current directory, but the error messages weren't very helpful. (The messages themselves were from mex, not mpgwrite.)

Then something more tricky:
"libmatlb.so: cannot open shared object file: No such file or directory."
The solution to this was on
http://www.mathkb.com/Uwe/Forum.aspx/matlab/37387/Can-t-use-mpgwrite
and is just to overwrite the mpgwrite.mexglx in the mpgwrite directory with the one in mpgwrite/src

It also caused matlab to crash after producing the file. But I am happy with my 8.5MB mpg instead of a 1.3GB avi!!

matlab2010a, ubuntu10.04, 32bit

Contact us