S-function level 2 Cell String Array
이전 댓글 표시
I am trying to read a cell string array in block mask parameter and use the strings of the array to generate code in .tlc file.
How do I read a cell string array mask parameter in a S function level 2 and pass to .tlc file? Say, a mask dialogue box parameter has a value like:
input= {'ab' 'c' 'def'}
How do I read "input" parameter in S function? Is there any function like:
ssWriteRTWStrVectParam(S, "input_names", utilGetstrParamAddr(0), 3)
which can be used to assign the parameter's ("input") value or address (pointer) of the variable "input_names"? How do I get access to each element of this "input_names" that has been sent to the .tlc file? Will the "%foreach" work in .tlc to have access to each of the element of this variable ("input_names")? Thanks.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Target Language Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!