MATLAB ヘルプ センター
指定した最上位モデルの coder.codedescriptor.CodeDescriptor オブジェクトを作成する
coder.codedescriptor.CodeDescriptor
getCodeDescriptor(model)
getCodeDescriptor(folder)
getCodeDescriptor(model) は、指定したモデルの coder.codedescriptor.CodeDescriptor オブジェクトを作成します。
model
例
getCodeDescriptor(folder) は、指定したビルド フォルダーの coder.codedescriptor.CodeDescriptor オブジェクトを作成します。
folder
すべて折りたたむ
モデル CustomCodeComments を開きます。
CustomCodeComments
openExample('CustomCodeComments');
モデルをビルドします。
slbuild('CustomCodeComments');
モデルの coder.codedescriptor.CodeDescriptor オブジェクトを作成します。
codeDescObj = coder.getCodeDescriptor('CustomCodeComments');
ビルド フォルダーを使用して coder.codedescriptor.CodeDescriptor オブジェクトを作成します。
codeDescObj = coder.getCodeDescriptor('CustomCodeComments_ert_rtw')
coder.codedescriptor.CodeDescriptor オブジェクトを取得するモデル オブジェクトまたは名前。
このメソッドは、最上位モデルとしてビルドされたモデルの coder.codedescriptor.CodeDescriptor オブジェクトを取得します。参照モデルの coder.codedescriptor.CodeDescriptor オブジェクトを取得するには、getReferencedModelCodeDescriptor を使用します。例については、参照モデルのコード記述子オブジェクトの取得を参照してください。
getReferencedModelCodeDescriptor
例: CustomCodeComments
データ型: string
string
coder.codedescriptor.CodeDescriptor オブジェクトを取得するモデルのビルド フォルダー。
このメソッドは、最上位モデルのビルド フォルダー内の最上位モデルとしてビルドされたモデルの coder.codedescriptor.CodeDescriptor オブジェクトを取得します。参照モデルの coder.codedescriptor.CodeDescriptor オブジェクトを取得するには、getReferencedModelCodeDescriptor を使用します。
例: C:\Users\Desktop\Work\CustomCodeComments_ert_rtw
C:\Users\Desktop\Work\CustomCodeComments_ert_rtw
R2018a で導入
coder.codedescriptor.CodeDescriptor | getReferencedModelCodeDescriptor
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ