How can i erase the word "out." at the beginning of the variable name in block "to workspace"
77 次查看(过去 30 天)
显示 更早的评论
David Sebastián Puma Benavides
2020-9-12
评论: David Sebastián Puma Benavides
2020-9-12
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 个评论
采纳的回答
stozaki
2020-9-12
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!