Retrieving names of all Configuration sets in the base workspace
이전 댓글 표시
Hi, I currently have 2 configuration sets stored in my Base workspace, which are being referenced by a model and reference models. By using the command
myConfigObjNames = getConfigSets(gcs);
I can retrieve the name of the configuration reference, rather than the names of the configuration set. I am hoping to retrieve an array of strings (each configset in base workspace) so that I can produce a command like
comargs = 'Configurationsets.Mat ';
numargs = size(myConfigObjNames,1);
for n = 1 :numargs
comargs = fullfile(comargs,', ',myConfigObjNames[n]);
end
save(comargs);
The above is an example and probably buggy.
but I don't know how to pull the data from the base workspace to fill the original array any ideas?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Scope Variables and Generate Names에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!