Hi, I try to make my program work, but I am struggeling a bit with this mistake. I want to cut off the ending of my file name, e.g. 'NACA_65-209.txt'. Unfortunately the following code is not answering anything. When I try to use e.g. 'strrep' instead my following program ends with errors.
function AirfoilName = get.AirfoilName(ObjectName)
oldString = '.txt';
newString = strcat('');
AirfoilName = replace(ObjectName.FileName, oldString, newString);