필터 지우기
필터 지우기

using templates in saveppt2

조회 수: 4 (최근 30일)
Art
Art 2015년 4월 29일
편집: Art 2015년 4월 29일
Is anyone familiar with saveppt2?
This program saves Matlab figures to powerpoint slides, and I have used it successfully to do this. However, I can't seem to get it to use my template. I am using Matlab 2012b, Windows 7.
I have created a template which exists in the standard ppt templates location, and I've also tried creating the template in the Matlab path where my files exist, just in case there was a path issue.
When I type: ppt=saveppt2('Test_1','Template','Test_1_Template.ppt','init') I get the error message:
"Error using Interface.91493462_5A91_11CF_8700_00AA0060263B/Open
Invoke Error, Dispatch Exception:
Source: Microsoft PowerPoint 2010
Description: PowerPoint could not open the file."
If I omit the 'Template' call and just use 'Test_1_Template.ppt' as the ppt to open (using this as my save file, instead of a template), it opens fine and the figures are saved to the end of the template.
Anyone know why it wouldn't be able to open as a template?

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by