Rank: 21592 based on 0 downloads (last 30 days) and 0 file submitted
photo

Peter

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Peter View all
Updated File Comments Rating
30 Dec 2012 getUserName Returns the user name or id, as informed by the operating system. Author: Felipe G. Nievinski

Works under Linux and Windows 7. Thanks.

15 Mar 2012 mpgwrite The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti

Just got it to work!

Specs:
Windows XP Professional x64 Edition
MATLAB R2007b 64-bit

Steps:
1) Install Visual C++ 2008 Express http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express
- It doesn't come with the x64 bit compilers (thanks cheap-o Microsoft)

2) Install Microsoft SDK 6.1
http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&displaylang=en
- Make sure that the x64 compilers option is selected _before_ installing.

3) In "mpgwrite/src/Makefile"
change "$(MCC) $(MCFLAGS) " to "-v -DWIN32"

4) Open "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\Visual Studio 2008 x64 Win64 Command Prompt"

5) Navigate to the mpgwrite/src folder

6) Run nmake -f Makefile

7) Move mpgwrite.mexw64 to mpgwrite folder (out of the src folder)

8) Add mpgwrite folder to your MATLAB path

Sources:
* http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/?solution=1-6IJJ3L
* http://grantnz.blogspot.com/2010/07/compiling-matlab-mpgwrite-with-vs2010.html
* Andrea's post above

23 Aug 2011 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

Be warned, you *will* need to tune image parameters to make your image file consistent with the results from saveas.

23 Aug 2011 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

Works excellently. Found out how to make CMYK tiffs for publication. Follow this code:

figure('InvertHardcopy','off','Color',[1 1 1]); % Force the background to be white
plot(x, y);
export_fig([filepath filename 'full'], '-tif', '-cmyk', '-r300'); % For CMYK 300 DPI tiff images

Contact us