Undefined function 'flw2te' for input arguments of type 'double'.

1 view (last 30 days)
I have found on this site that most people that have this problem has something to do with the names of the files being wrong, but this is not the case this time and I can't figure out what the problem is. Anybody that has an idea?
It has worked before and suddenly stopped. I haven't changed any of the variables that are put in to the function.

Answers (1)

Matt Cohen
Matt Cohen on 18 May 2016
Hi Julia,
I understand you are receiving an "Undefined function" error when trying to run the "flw2te" function.
From what I can tell, this does not appear to be a built-in function in MATLAB. I was able to find a similar function in a GitHub repository named CALFEM. Since the screenshot included in this question shows a folder named 'calfem', I will assume that the function "flw2te" is in this folder and is from this repository.
Based on the screenshot, it appears that the folder 'calfem' might not be on the MATLAB search path. This folder shows up faded in the image. Try adding this folder, along with any sub-folders, to the path. You can do this from within the Current Folder browser. From the Current Folder browser, select and then right-click the 'calfem' folder. From the context menu that appears, hover over the "Add to Path" option, and then select the "Selected Folders and Subfolders" option.
I hope this information proves to be helpful.
Matt

Categories

Find more on Introduction to Installation and Licensing 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!