Extract substring in TLC file.
Show older comments
I am wanting to extract the first 16 characters from the string CompiledModel.Name, would anyone be able to advise me on how to do this.
I have tried variations of CompiledModel.Name[1:16] but to no avail.
The name is 17 characters long at the moment so I know it is not a size issue.
Many Thanks Mike
Answers (1)
Abdul Shaik
on 26 Oct 2019
Edited: Abdul Shaik
on 26 Oct 2019
0 votes
%assign mySubString = FEVAL("char", FEVAL("extractBetween", CompiledModel.Name,1,16))
Categories
Find more on Code Generation 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!