필터 지우기
필터 지우기

Version problem

조회 수: 2 (최근 30일)
Pablo
Pablo 2012년 1월 20일
Hi,
Briefly, Matlab R2008a contains the function "isfigure", but R2010a and R2011a versions don't contain that function. My question, is there some kind of "package" containing all those dismissed functions, or simply i have to copy and paste those functions?
Regards
  댓글 수: 2
Alex
Alex 2012년 1월 20일
Can you explain more on what you are trying to do? Are you trying to update code to a new version?
Pablo
Pablo 2012년 1월 20일
I only want to run a code in other computer with a different matlab version

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2012년 1월 20일
R2008b does not contain the function either.
The function, when it exists, is in \toolbox\matlab\graphics\@printjob\private\isfigure and is thus a private function for MATLAB internal use only; you should not have any calls to it. (It appears that some versions of saveas() used it.)
  댓글 수: 2
Pablo
Pablo 2012년 1월 20일
Yes, saveas() requires that function.
What should i do?
Walter Roberson
Walter Roberson 2012년 1월 20일
Do not copy the code for saveas() or isfigure() over. The version of saveas() used on the new version will have been revised to not use isfigure() if that routine was dropped. Just call upon saveas().
If saveas() does not work in the newer version, then that is a bug or installation problem, and may hint that there are other problems; the problem should be fixed rather than trying to copy private toolboxes.
Checking my R2008b version, I see isfigure at
toolbox/matlab/general/private/isfigure.m
toolbox/matlab/graphics/private/isfigure.m
(they are the same)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by