필터 지우기
필터 지우기

Printing Simulink models to hi resolution EPS

조회 수: 5 (최근 30일)
Gareth Evans
Gareth Evans 2013년 1월 9일
Hello,
I would like to print my Simulink models to high quality EPS files. I'm using 2012b with mac Osx lion.
If i set Matlab to work in the directory where my singlezone.slx file is storred and issue the following command in the workspace:
>>print -Singlezone -deps -r300 simmodel.eps
Matlab come's back with the following error:
Error using inputcheck>LocalCheckOption (line 309) Illegal option '-Singlezone' given.
Error in inputcheck (line 76) opIndex = LocalCheckOption( cur_arg, options );
Error in print (line 163) [pj, devices, options ] = inputcheck( pj, inputargs{:} );
Cheers,
Gus

채택된 답변

Ryan G
Ryan G 2013년 1월 9일
Looks like you're close, but you want to add an 's' before Singlezone and make sure the system is loaded (load_system, open_system or however you open the model). It would look like this:
print -sSinglezone -deps -r300 simmodel.eps
  댓글 수: 2
Gareth Evans
Gareth Evans 2013년 1월 9일
Thanks Ryan,
I have now obtained an eps output, but its in black and white.
Is it possible to get colour?
cheers
Gus
Gareth Evans
Gareth Evans 2013년 1월 9일
Got it. Cheers..(-:

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Model Editing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by