Welcome to MSDN Blogs Sign in | Join | Help

Matlab to OneNote - Thanks to Stephen Lawrence

I just got an email from Stephen Lawrence who shared with me a Matlab app/script which will publish to OneNote.  For example say you have the following in Matalb:

fprintf('Hello World\n');
figure;
plot(magic(10));

And then you wanted to publish it to OneNote, you can with just this one command:

OneNotePublish('test.m');

Steve explains it all here:

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.  Nice work Steve!  Thanks a bunch for telling me about it!

Published Thursday, June 21, 2007 2:14 AM by descapa

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Matlab to OneNote at OneNote PowerToys

Thursday, June 21, 2007 6:52 AM by Matlab to OneNote at OneNote PowerToys

# Daniel Escapa's OneNote Blog : Matlab to OneNote - Thanks to Stephen Lawrence

[MatLab] was AWESOME. back when I was a student at [USC] (Go trojans!) I got an internship with [AlliedSignal]....

Thursday, June 21, 2007 5:50 PM by It's my life... And I live it...

# re: Matlab to OneNote - Thanks to Stephen Lawrence

 I was thinking about something like this for some of our in-house apps.  The extra feature that would be really nice would be to have a link back to the original document so I can scan through many file outputs in OneNote and then open the one I am interested in.  I was looking at the API and it seemed hard to add a link to a file on the outputted page.

Friday, July 06, 2007 6:51 PM by N. Velope

# Daniel Escapa's OneNote Blog : Matlab to OneNote - Thanks to Stephen Lawrence

Ran across this OneNote PowerToy on Daniel Escapa's OneNote Blog that allows you to output Matlab to

Wednesday, July 11, 2007 11:40 AM by Dan on eScience & Technical Computing @ Microsoft

# Daniel Escapa's OneNote Blog : Matlab to OneNote - Thanks to Stephen Lawrence

Ran across this OneNote PowerToy on Daniel Escapa's OneNote Blog that allows you to output Matlab to

Wednesday, July 11, 2007 11:40 AM by eScience @ Microsoft

# Matlab to OneNote

Ran across this OneNote PowerToy on Daniel Escapa's OneNote Blog that allows you to output Matlab

Wednesday, July 11, 2007 12:03 PM by Noticias externas

# Daniel Escapa's OneNote Blog : Matlab to OneNote - Thanks to Stephen Lawrence

Ran across this OneNote PowerToy on Daniel Escapa's OneNote Blog that allows you to output Matlab

Wednesday, July 11, 2007 12:03 PM by Noticias externas

# VRP in matlab

i am trying to solve a simulation in VRP coding in MATLAB.Pls help , i am facing some major problems.

Monday, February 11, 2008 2:40 AM by treasure

# plotting in Matlab

I am trying to plot a scatter graph and a bar graph on the same axis.  I want the scatter graph to use the left hand side y axis (which I have done) however I want the bar graph to use the left hand side y axis.  does anyone know how to do this?

Friday, October 17, 2008 10:26 PM by Nic

# re: Matlab to OneNote

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 a nice (vector/metafile?) image?

Regards,

Jiri

Thursday, April 30, 2009 4:11 AM by Jiri rosicky

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker