Matlab to OneNote

Stephen Lawrence shared with Dan Escapa how to export via a script from MatLab to OneNote…

I took your Send file to OneNote powertoy code and adapted it for Matlab. I have attached my code below so that you can get an idea of how it works.

I had to switch from creating Matlab XML to Matlab HTML…the result works well. All I had to do to publish my file in OneNote was type:

   OneNotePublish(‘test.m’);

in the command window.I got the resulting page:

image

You can download the source for this by downloading it here: Matlab2OneNote.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ma.gnolia
  • StumbleUpon
  • Technorati

Posted: June 21st, 2007 under Clipboard & Print Screen.

Comments

Comment from Jeff
June 21, 2007 at 9:21 am

This is great! I’ll use this frequently, as I use onenote as my lab notebook. May need to tweak slightly to get it to work for M files that aren’t scripts, but it looks easy enough. I’m looking forward to inking over my matlab code and figures now!

Pingback from OneNote PowerToys – The Daily Ramblings of an SMS Engineer
March 30, 2008 at 5:43 pm

[...] Matlab to OneNote [...]

Comment from Jiri Rosicky
April 30, 2009 at 1:13 am

It is nice! But published images look like they are plain bitmaps – they pixelize after beeing zoomed in. If I copy a Matlab image using Matlab's edit menu and paste it into OneNote the copy can bee zoomed and it looks very nice – like a vector graphics.

Is it possible to make “OneNotePublish” to publish images as such nice (vector/metafile?) images?

Write a comment