フィルターのクリア

loop through array of strings in tic

2 ビュー (過去 30 日間)
Caroline Brandberg
Caroline Brandberg 2017 年 6 月 9 日
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
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.
Caroline Brandberg
Caroline Brandberg 2017 年 7 月 3 日
Yes, sorry for the confusion, and thanks @Philip Borghesani for the clarification. Any ideas of how to solve this issue?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by