How to change Index search settings for 1D and 2D Lookup tables through a script?
1 次查看(过去 30 天)
显示 更早的评论
I would like to activate 'Begin index search using previous index result' for 1D and 2D Lookup tables in my model. I do not see any option to change from the block. Additionally, I prefer doing it with script file.
%....my script... lookupblks = find_system('mymdl','LookUnderMasks','all','FollowLinks','on','regexp','on','blocktype','Lookup'); fixBlks=lookupblks; default='on'; for i=1:length(fixBlks) set_param(fixBlks{i},'BeginIndexSearchUsingPreviousIndexResult',default); end %....... This code is working with only some of the blocks. I get the following error: 'Lookup2D block does not have a parameter named 'BeginIndexSearchUsingPreviousIndexResult' Any ideas? Thanks in advance!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lookup Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!