loop through array of strings in tic
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I want to loop through an array of strings in tlc that I retrieve from a MATLAB function.
I.e., something like the following: (OBS, this code doesn't work)
%assign values = FEVAL("my_fcn", arg)
%assign nbrOfValues = FEVAL("length", values)
%foreach i = nbrOfValues
%<values[i]>
%endforeach
How do I do this?
4 个评论
Philip Borghesani
2017-6-9
编辑:Philip Borghesani
2017-6-9
This is not MATLAB code it is tlc for the Target Language Compiler to create an S-function for use with Simulink and RTW.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Language Compiler 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!