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.
Thank you!
function AirfoilName = get.AirfoilName(ObjectName)
oldString = '.txt';
newString = strcat('');
AirfoilName = replace(ObjectName.FileName, oldString, newString);
end
0 Comments
Sign in to comment.