
How can i erase the word "out." at the beginning of the variable name in block "to workspace"
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
David Sebastián Puma Benavides
le 12 Sep 2020
Commenté : David Sebastián Puma Benavides
le 12 Sep 2020
How can I change the variable name in the block "To workspace, when I change the name, it maintain the word "out.", and it confuse when I call the variable and run the project on the script.
Help me.

0 commentaires
Réponse acceptée
stozaki
le 12 Sep 2020
Hello David,
The default configuration settings are to save to a single Simulink.SimulationOutput object. The script to cancel the setting is as follows. Please execute with the model open.
myconfig = getActiveConfigSet(bdroot(gcs));
set_param(myconfig,'ReturnWorkspaceOutputs','off');
This can also be set via the settings dialog.

Regards,
stozaki
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Model Editing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!