필터 지우기
필터 지우기

writing several figures to a text file by a program

조회 수: 2 (최근 30일)
MYimage
MYimage 2012년 4월 26일
Hello, I want to write several 'fig' files to one text file by using a program in m-file. Does anyone know a how to do it? Thank you.

답변 (1개)

Jan
Jan 2012년 4월 26일
FIG-Files contain the contents of a figure with all axes, graphics and uicontrols, colors, shading and renderer definition. How could you write this to a text file? While I'm convinced that this is neither possible nor useful, I ask you to explain, what you want to appear in the text file.
[EDITED] To save a figure as FIG file, use hgsave.
  댓글 수: 3
Daniel Shub
Daniel Shub 2012년 4월 26일
If you export your figure as an eps file you will have a text file, but it won't have the renderer definition and you will not be able to "reload" the text file into MATLAB. Are you sure you want a text file?
MYimage
MYimage 2012년 5월 2일
Hello, my program produces apprx 150 'fig' output and it takes time to get screenshots and paste them on a word file for reporting. Thats why I have been looking for an automatic way to write my .fig outputs directly on a word doc. So do you know an automatic way? Thanks..:)

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

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by