loop through array of strings in tic
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Philip Borghesani
il 9 Giu 2017
Modificato: Philip Borghesani
il 9 Giu 2017
This is not MATLAB code it is tlc for the Target Language Compiler to create an S-function for use with Simulink and RTW.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Target Language Compiler in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!