ヘルプ センターヘルプ センター
最上位のモデルおよび参照モデル用に生成された A2L ファイルをマージして、モデルに対して単一の A2L ファイルを生成
[status, info] = rtw.asap2MergeMdlRefs(TopModel, FileName)
例
[status, info] = rtw.asap2MergeMdlRefs(TopModel, FileName) は、最上位モデルと参照モデルの A2L ファイルをマージすることで、TopModel に対して単一の A2L ファイルを生成し、単一の A2L ファイルを FileName.a2l として保存します。
status
info
TopModel
FileName
すべて折りたたむ
参照モデル用に生成された A2L ファイルをマージすることで、モデルに対して単一の A2L ファイルを生成します。
% merge A2L files into single A2L file and save with custom name [status, info] = rtw.asap2MergeMdlRefs('modelName','modelasap.a2l')
status = logical 0 info = 0*0 empty char array
モデルの名前。
例: 'mymodel', 'systemModel'
'mymodel', 'systemModel'
生成された A2L ファイルのカスタム名。
例: 'modeldata.a2l', 'systemdata.a2l'
'modeldata.a2l', 'systemdata.a2l'
A2L ファイルのマージのステータスを出力します。0 は A2L ファイルのマージが成功したことを示し、1 は失敗したことを示します。
最上位モデルの A2L ファイルと参照モデルの A2L ファイルをマージ中に失われたオブジェクトのリストを出力します。
R2012a で導入
rtw.asap2SetAddress
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
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