How to change base workspace variable using m-stript?
显示 更早的评论
I have a m-script for loading some simulink.signal and simulink.parameter variables into the base workspace, and then I would like to modify some of its properties such as the code generation options field.
The problem I have is, I'm using the function whos to get the list of the variables in the base workspace, but for each element of that list, I only have the name of the variable as a string, and I don't know how to convert that into a object handle sort of thing, can anyone help?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 String 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!