以下のように設定することが可能です。
s = settings;
s.matlab.editor.export.pagesetup.pdf.Orientation.TemporaryValue = 'Landscape'; % 用紙の向きを横向き
s.matlab.editor.export.pagesetup.pdf.Margins.TemporaryValue = [0 28 0 28]; % 左右余白を 0 に
上記の詳細については、以下のヘルプドキュメントをご覧ください。
・matlab.editor 設定