ドキュメンテーションヘルプ センタードキュメンテーション
このページの翻訳は最新ではありません。ここをクリックして、英語の最新版を参照してください。
設定の一時的な値をクリア
clearTemporaryValue(s)
例
clearTemporaryValue(s)は、指定された設定の一時的な値をクリアします。一時的な値が設定されていないか、書き込み可能ではない場合、MATLAB®はエラーをスローします。
s
すべて折りたたむ
MATLAB でのコードのフォント サイズに関する一時的な値を設定してからクリアします。
ルートのSettingsGroupオブジェクトを取得し、MATLAB でのコメントの最大列幅に関する一時的な値を設定します。
SettingsGroup
s = settings; s.matlab.editor.language.matlab.comments.MaxWidth.TemporaryValue = 80;
MATLAB でのコメントの最大列幅に関する現在の値を表示します。一時的な値が設定されているため、この設定のアクティブな値は一時的な値です。アクティブな値の判別方法の詳細については、設定へのアクセスと変更を参照してください。
s.matlab.editor.language.matlab.comments.MaxWidth
ans = Setting 'matlab.editor.language.matlab.comments.MaxWidth' with properties. ActiveValue: 80 TemporaryValue: 80 PersonalValue: FactoryValue: 75
一時的な値をクリアします。この設定のアクティブな値は現在、出荷時の値に設定されています。
clearTemporaryValue(s.matlab.editor.language.matlab.comments.MaxWidth) s.matlab.editor.language.matlab.comments.MaxWidth
ans = Setting 'matlab.editor.language.matlab.comments.MaxWidth' with properties. ActiveValue: 75 TemporaryValue: PersonalValue: FactoryValue: 75
setting
設定。settingオブジェクトとして指定します。ルートの設定グループ オブジェクトとツリー内の利用可能なすべての設定にアクセスするには、関数settingsを使用します。
settings
settings|addSetting|hasTemporaryValue|clearPersonalValue
addSetting
hasTemporaryValue
clearPersonalValue
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office