Extract substring in TLC file.
이전 댓글 표시
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
답변 (1개)
Abdul Shaik
2019년 10월 26일
편집: Abdul Shaik
2019년 10월 26일
0 개 추천
%assign mySubString = FEVAL("char", FEVAL("extractBetween", CompiledModel.Name,1,16))
카테고리
도움말 센터 및 File Exchange에서 Code Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!