S-function level 2 Cell String Array
Show older comments
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.
Answers (0)
Categories
Find more on Target Language Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!