create custom application name with slrealtime

2 次查看(过去 30 天)
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
You don't need to set an Application name. This line is not required:
tg.ModelStatus.Application = AppName;

类别

Help CenterFile Exchange 中查找有关 Real-Time Simulation and Testing 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by