필터 지우기
필터 지우기

Saving a plot during runtime..URGENT !!

조회 수: 6 (최근 30일)
Saikath Bhattacharya
Saikath Bhattacharya 2012년 1월 1일
I running a program in a lop for 5 times.. and each loop is generating 10 plots...therefore at the end i am getting 50 figures.. I want to save them during runtime only. also one of my figure is generated from the command compare. ??? Help needed
[EDITED]: i have used saveas... but the files are overwritten after each loop
  댓글 수: 1
Jan
Jan 2012년 1월 1일
The term "urgent" is counterproductive in this and other forums. Of course every problem is urgent for the author, but not for the ones, who want to answer voluntarily.

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

답변 (2개)

Image Analyst
Image Analyst 2012년 1월 1일
See the FAQ:
Now, what do you mean by "during runtime only"? Exactly what other time would they be able to be saved? It certainly doesn't save it during the time you're editing the program, or when it's just sitting there on the disk while not even running MATLAB. When is the other time that it would be saved that you don't want it to be saved?
  댓글 수: 4
Walter Roberson
Walter Roberson 2012년 1월 1일
http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
Jan
Jan 2012년 1월 1일
@Saikath Bhattacharya: Your comment contains more useful information than the original posting. I've added it there.

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


Jan
Jan 2012년 1월 1일
What exactly does this mean: "also one of my figure is generated from the command compare"?
What is the actual question? You say, that you want to save from inside the program. Good idea, what have you trued so far? Which problem occurred? One of the standard methods should be sufficient: saveas, print or getframe+imwrite.
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 1월 1일
http://www.mathworks.com/help/toolbox/ident/ref/compare.html

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

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by