I still got error: "Invalid setting in Constant block 'Constant' for parameter 'Value'. 'x' is in the place of the 'constant' block where the numeric value is given.
Error in Using set_param
17 次查看(过去 30 天)
显示 更早的评论
采纳的回答
更多回答(1 个)
Brian B
2014-7-14
Try
set_param('dummy/Constant','Value','50')
Note that the value is also a string.
4 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!