create custom application name with slrealtime

I am deploying a model called TestModel.slx to a device using slrealtime but I want the image to be called Test01. It looks like I need to set the Application name but I don't see a property to set it in the documentation.
AppName = 'Test01';
ModelName = 'TestModel';
TargetName = 'Device-01';
tg = slrealtime(TargetName);
tg.ModelStatus.Application = AppName;
load(tg, ModelName);

回答 (1 件)

Diego Kuratli
Diego Kuratli 2022 年 3 月 10 日

0 投票

You don't need to set an Application name. This line is not required:
tg.ModelStatus.Application = AppName;

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

製品

リリース

R2020b

質問済み:

2022 年 2 月 8 日

回答済み:

2022 年 3 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by