Enable Title Printing & Page Boundaries in Simulink

1 回表示 (過去 30 日間)
Michael
Michael 2013 年 5 月 23 日
コメント済み: dzid_ 2020 年 2 月 22 日
Anyone know if there is a way to set "Show page boundaries" and "enable titled printing" as a default when creating new subsystem blocks? I keep having to enable these settings every time I copy a previous block, even if I had the settings changed in the block I copied from.
Thanks
  1 件のコメント
dzid_
dzid_ 2020 年 2 月 22 日
It's a bit slow, but to show Page Boundaries in all subsystems modify internal Simulink.slx library:
Add at the beginning of CopyFcn callback:
set_param(gcbh, 'ShowPageBoundaries','on')
Then change following item from existing script of CopyFcn:
set_param(gcbh,'CopyFcn','')
to:
set_param(gcbh,'CopyFcn','set_param(gcbh, ''ShowPageBoundaries'',''on'')')
Save Simulink.slx. Insert new subsystem block.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by