Why do I get an error 'undefined function initprintexporttemplate' when creating a figure using GUIDE?
조회 수: 1 (최근 30일)
이전 댓글 표시
After Installing the Instrument Control Toolbox, the GUIDE command results in an error Reproduction Steps %%%BEGIN CODE%%% >>guide %%%END CODE%%% Errors: ??? Error using ==> figure Undefined function or method 'initprintexporttemplate' for input arguments of type 'double'. Error in ==> dialog at 85 hDialog = figure('BackingStore' ,backstore , ... Error in ==> guidetemplate at 25 hDialog = dialog('Name', title,'visible','off','position',[0, 0, size.width, size.height]); Error in ==> guide at 69 guidetemplate; Warning: PrintTemplate has not been initialized properly > In dialog at 85 In guidetemplate at 25 In guide at 69
댓글 수: 0
답변 (2개)
Swati Tiwari
2011년 1월 18일
Every time a file from matlabroot/toolbox is changed, added, or removed , it is necessary to execute the following command at the MATLAB command prompt to update the files and classes.
rehash toolboxcache
댓글 수: 0
Angus
2011년 4월 20일
I believe the problem cited is because of a ZIP file in the same folder. Is it possible that you have downloaded a ZIP from the ML File Exchange? If so, Try relocating or deleting the ZIP... this worked for me.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!