Rank: 1046 based on 81 downloads (last 30 days) and 18 files submitted
photo

Matthew Simoneau

E-mail
Company/University
MathWorks
Lat/Long
42.3003044128418, -71.34988403320312

Personal Profile:

My name as a MATLAB pun, courtesy of Tim Davis:

save perrier psi(weekday(3))

Personal site: http://www.matthewsim.com/

Professional Interests:
social computing, web services, interface design, technical communication, MATLAB hacking

 

Watch this Author's files

 

Files Posted by Matthew View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
09 May 2011 Using XPath from MATLAB A simple example showing how to use XPath from MATLAB. Author: Matthew Simoneau xml, xpath 7 0
27 May 2010 Published MATLAB Files Fitting Data with A Sudden Discontinuity Find the displacement and supply it as a shift in a custom equation. Author: Matthew Simoneau matrix 3 0
21 Jan 2010 Unescape a JavaScript String Manually interprets a JavaScript string, which may contain escape characters. Author: Matthew Simoneau javascript, strings 3 2
04 Jan 2010 Published MATLAB Files Animation of "House of Cards" by Radiohead® An animation of 3-D scatter data. Author: Matthew Simoneau animation, data, 3d, plotting, house of cards, graphics 6 0
  • 5.0
5.0 | 1 rating
04 Jan 2010 Published MATLAB Files Upload a Video to YouTube™ Using the Youtube™ data API, upload a video directly from MATLAB®. Author: Matthew Simoneau video, google api, youtube, graphics export, api, upload 4 8
  • 2.33333
2.3 | 4 ratings
Comments and Ratings by Matthew View all
Updated File Comments Rating
14 Dec 2010 Update twitter status Update your Twitter® status from MATLAB® Author: Navan Ruthramoorthy

Implementing OAuth in MATLAB. Very nice!

23 Sep 2009 ntimes Multiplies arrays of 2D matrices in an efficient manner. Author: Michael Stachowsky

The "(2)" in the filename makes it impossible to run.

27 Apr 2009 Publish to MediaWiki A stylesheet to make MATLAB publishing produce MediaWiki markup as an output. Author: Matthew Simoneau

joshua, is it the "<source>" that you're asking about? That's markup for the syntax highlighting extension. It's installed on Wikipedia and most other installations. http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

us, I checked again and the file is xsl on the File Exchange. it's possible your browser or OS is renaming the file when you download it.

23 Apr 2009 Publish to MediaWiki A stylesheet to make MATLAB publishing produce MediaWiki markup as an output. Author: Matthew Simoneau

urs, I'm not sure where you mean. I think it should be mediawiki.xsl everywhere.

23 Jan 2009 Unescape a JavaScript String Manually interprets a JavaScript string, which may contain escape characters. Author: Matthew Simoneau

Yes, us, that is a real problem!

There's probably a clever way to avoid this hack, but it didn't come to mind.

Comments and Ratings on Matthew's Files View all
Updated File Comment by Comments Rating
19 Mar 2013 Upload a Video to YouTube™ Using the Youtube™ data API, upload a video directly from MATLAB®. Author: Matthew Simoneau White, Lee

I had major issues with this download. Tried multiple version of the gdata API and emailed the author. I agree with Nathan that the easiest way to do upload from matlab is using GoogleCL. Protip: to upload videos to youtube from matlab as 'unlisted' get the latest version of GoogleCL using SVN. Then you will need to enter the following command in matlab: DOS(python google.py youtube post "filename.avi" --category Tech --access=unlisted --Title "It works!"

13 Mar 2013 Upload a Video to YouTube™ Using the Youtube™ data API, upload a video directly from MATLAB®. Author: Matthew Simoneau Orloff, Nathan

I get emailed about this a lot. This code is not so useful. You should install the google command line utility and then do it that way.

Yeah. It can be done. You need to install the google command line utility and all the associated api's. Then you have to enable your youtube account as a developer. Then you can do it.

This guys code is basically useless. I had to do it all myself. The easiest way to do it is through the command line. That way you dont have to modify all the .jar files on the path. Also, it is much faster and matlab is really prone to memory leaks.

Once you get all that stuff setup, which is by no means straightforward. Something like the following should work.

function req_url = im_uploadmovie(game_id,moviedir,game_str)
% im_uploadmovie
% im_uploadmovie automatically uploads a game movie to youtube.

% See also im_makemovie

% HISTORY:
% Version 1.0, 2011-10-21..
movie_file = [moviedir '\movie_game_id_' num2str(game_id) '.mp4'];
commandline_str = ['google youtube post ' ...
'--category Games '....
'--summary "' strrep(game_str,sprintf('\n'),' ') '"'...
' "' movie_file '"'];
[~, results_str] = system(commandline_str);
ind = strfind(results_str,'Video uploaded:');
raw_url = results_str(ind:end);

26 Feb 2012 Upload a Video to YouTube™ Using the Youtube™ data API, upload a video directly from MATLAB®. Author: Matthew Simoneau Orloff, Nathan

The problem with this code is in the developerKey, clientid. I think these are expired so you need to register with google API to get your own. I modified the code to allow you to set the privacy settings, and also work for an arbitrary movie type instead just .avi. Send me an email if you want it.

24 Feb 2012 Upload a Video to YouTube™ Using the Youtube™ data API, upload a video directly from MATLAB®. Author: Matthew Simoneau Orloff, Nathan

Sheesh. This is a long error message. I am sorry about this. I tried making a new account but I am having trouble with the username and password. I don't understand why it isn't logging in. Do you have ideas why this might be happening? I have checked the username and password several times to verify that they are correct.
Error using
com.google.gdata.client.youtube.YouTubeService/setUserCredentials
Java exception occurred:
com.google.gdata.util.AuthenticationException: Error connecting with login
URI
at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:489)
at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:346)
at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:362)
at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:317)
at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)

Caused by: java.io.IOException: The issuer can not be found in the trusted
CA list.
at ice.ssl.SSLSocket.processEvent(OEAB)
at ice.ssl.SSLSocket.certCallback(OEAB)
at ice.ssl.SSLSocket.append(OEAB)
at ice.ssl.SSLSocket.startHandshake(OEAB)
at ice.ssl.SSLSocket.IVSize(OEAB)
at ice.ssl.SSLSocket.getInputStream(OEAB)
at ice.net.ClientSocket.getInputStream(OEAB)
at ice.net.PersistentConnection.setSocket(OEAB)
at ice.net.ConnectionManager.getConnection(OEAB)
at ice.net.HttpURLConnection.connect(OEAB)
at ice.net.HttpURLConnection.getOutputStream(OEAB)
at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(GoogleAuthTokenFactory.java:551)
at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:487)
... 4 more

08 Oct 2011 Animation of "House of Cards" by Radiohead® An animation of 3-D scatter data. Author: Matthew Simoneau Smart, Mr

Top Tags Applied by Matthew
vis2009, google, español, spanish, data
Files Tagged by Matthew View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Feb 2012 Screenshot Google Earth Toolbox Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth Author: scott lee davis google, kml, earth, google earth, kmz, earth sciences 313 51
  • 4.80851
4.8 | 49 ratings
09 Nov 2011 Screenshot Neural Network Classifiers Mex implementation of 3 majors neural networks classifiers. Author: Sebastien PARIS grlvq, h2mglvq, statistics, srng, probability, neural networks 52 1
  • 5.0
5.0 | 1 rating
09 May 2011 Using XPath from MATLAB A simple example showing how to use XPath from MATLAB. Author: Matthew Simoneau xml, xpath 7 0
19 Nov 2010 Published MATLAB Files MATLAB xUnit Test Framework MATLAB xUnit is a unit test framework for MATLAB code. Author: Steve Eddins mtest, unit test, xunit, test, this is a great work ..., testing 183 127
  • 5.0
5.0 | 40 ratings
27 May 2010 Published MATLAB Files Fitting Data with A Sudden Discontinuity Find the displacement and supply it as a shift in a custom equation. Author: Matthew Simoneau matrix 3 0

Contact us