HOW TO LINK MATLAB FILE THROUGH MICROSOFT WORD?

25 views (last 30 days)
Greetings! I would like to link my MATLAB File through Microsoft Word so when our professor checks our paper, it will open my codes directly. Hoping for your kind answers! Thank you!
  3 Comments
Laura Ashley Signo
Laura Ashley Signo on 23 Oct 2021
Yeah that's exactly what I want. Well, I'm gonna use it for educational purposes. I can guarantee that its only for our exercise because its one of our requirements. :/ to link the file...
Rik
Rik on 23 Oct 2021
Are you sure they didn't mean you should attach your m-file? Or to include your code as text in your Word document?
It seems a very convoluted setup.
The fact that you personally would not use it to package a virus isn't relevant. There are also other people who can read this page.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 23 Oct 2021
You could make a macro so they could run the macro.
View tab -> Macros -> Record Macro
Though I'm not sure if the macro can be made to run from clicking some text in the body of your document. You can however make it run when they click a button or do some keystrokes.

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!