6 views (last 30 days)
Laura Ashley Signo
Laura Ashley Signo on 23 Oct 2021
Answered: Image Analyst on 23 Oct 2021
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!
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.

Community Treasure Hunt

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

Start Hunting!