create custom application name with slrealtime

1 vue (au cours des 30 derniers jours)
user86753
user86753 le 8 Fév 2022
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);

Réponses (1)

Diego Kuratli
Diego Kuratli le 10 Mar 2022
You don't need to set an Application name. This line is not required:
tg.ModelStatus.Application = AppName;

Catégories

En savoir plus sur Real-Time Simulation and Testing dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by