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

1 次查看(过去 30 天)
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.

回答(1 个)

Matt Cohen
Matt Cohen 2016-5-18
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

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by