How can I change page orientation in save2word for office 2016?

1 次查看(过去 30 天)
I use save2word to export figures to a word doc. In office2010, I can change the paper orientation to landscape using "set(get(..." command. But the same commend does not work for office 2016. How to change page orientation in word 2016 in save2word?

回答(1 个)

Michelle Wu
Michelle Wu 2016-9-29
It seems that function “save2word” is a custom file submitted by a third party vendor or developer on File Exchange here .
I understand that you are trying to change the paper orientation by using “get” and “set”, but I’m not exactly sure which object and property you refer to. Are you using the following command or something else?
>> set(gcf,'PaperOrientation','landscape')
The MathWorks does not officially support the files submitted by third parties, but here are a few things you could try:
  • Contact the file owner and ask for suggestions on the Office 2016 workflow.
  • Try some similar functions available on File Exchange which are related to “save2word”. You could locate this information on the File Exchange page under the File Information section. For instance, the function “ WriteToWordFromMatlab ” is inspired by “save2word”, and you may want to check this out to see if it resolves the issue.
  • Customize the "save2word" function with the feature that you are looking for. This discussion on MATLAB Newsgroup seems related to what you are trying to achieve. Refer to the hyperlink and see if the code snippet helps you change the paper orientation.

类别

Help CenterFile Exchange 中查找有关 View and Analyze Simulation Results 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by