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

Risposte (1)

Abdul Shaik
Abdul Shaik il 26 Ott 2019
Modificato: Abdul Shaik il 26 Ott 2019

0 voti

%assign mySubString = FEVAL("char", FEVAL("extractBetween", CompiledModel.Name,1,16))

Categorie

Scopri di più su Code Generation in Centro assistenza e File Exchange

Richiesto:

il 20 Gen 2015

Modificato:

il 26 Ott 2019

Community Treasure Hunt

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

Start Hunting!

Translated by