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

2 Ansichten (letzte 30 Tage)
Julia Petersson
Julia Petersson am 16 Mai 2016
Beantwortet: Matt Cohen am 18 Mai 2016
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.

Antworten (1)

Matt Cohen
Matt Cohen am 18 Mai 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

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by