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

1 回表示 (過去 30 日間)
Julia Petersson
Julia Petersson 2016 年 5 月 16 日
回答済み: Matt Cohen 2016 年 5 月 18 日
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 Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by