FCN error using compiler..
이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
이전 댓글 표시
0 개 추천
Hi all. I have some problem. look below.

In script, I using trainFCN in ANN.
I think that occured problem in there.
How do I solve this problem ?
채택된 답변
Jan
2017년 6월 7일
0 개 추천
What do you find in this file in the given line? The error message seems to be clear: The term "FCN" was not defined before. The forum cannot guess, why this happens. Either inspect the file by your own or explain any details about what you do.
댓글 수: 17
Jeong_evolution
2017년 6월 7일

In 292 line, trainbr is occured error. I'm sorry. I had to upload the script in advance.
Jan
2017년 6월 8일
The term "FCN" does not appear here.
Jeong_evolution
2017년 6월 8일
I'm sorrry.
FCN = trainFcn.
Walter Roberson
2017년 6월 8일
Are you still having difficulty? If so then please attach the actual code -- not a picture of what the code was at one time.
Jeong_evolution
2017년 6월 8일
Here is the m-file & DB.
Thank you for attention.
Jan
2017년 6월 8일
Sorry, I cannot follow you. Initially the error message was, that "FCN" is not recognized. Then the screenshot shows code, whioch uses 'trainbr' as input for narxnet, but no "FCN" anywhere. Exatcly at this point the attached code contains the variable "FCN" now, which contains the string 'trainbr', but is has less than 292 lines of code. This means, that 3 different versions of your code are concerned. And you get the same error message with these different codes?
Jeong_evolution
2017년 6월 8일
Picture is different with attached code. sorry;;. In attached code, 27th line is occured error in FCN. Initially FCN is defined 19th line. Got it? And error is like "FCN is not the name of a function on the MATLAB path." And What is mean of 3 different versions of your code? Is FCN, trainFcn, trainbr => 3 versions ?
Jeong_evolution
2017년 6월 8일
In Technical Support Team of mathworks, This code is possible deploy and success. They have window 10. But I have window 7. Is problem related with this winodw version?
Jan
2017년 6월 8일
The error message is important. Please post it completely. "27th line is occured error in FCN" does not allow to understand, what's going on.
Jeong_evolution
2017년 6월 9일
편집: Jeong_evolution
2017년 6월 9일

This figure is my work flow and error screen. Does this figure help for you?
Jeong_evolution
2017년 6월 9일
편집: Jeong_evolution
2017년 6월 9일
And Have you tried deploy using my script and DB(Data Base) ? Also you occur same error?
And I trying continuously .. but situation is not progressing.
Walter Roberson
2017년 6월 9일
The problem does not occur for me in R2017a on OS-X El Capitan operating system. I did, however, need to make minor changes to the code because the input file you gave is not a valid .csv file. I suggest you consider making the same change to csvread that I needed to use for Mac. I did not test under Windows so I am not positive that the change I made to your xlsread command will work.
I can see that you are using MS Windows but I cannot tell which operating system or which MATLAB release you are using.
Jeong_evolution
2017년 6월 9일
Finally, Are You think the problem is just difference of window environment ? Mr.Roberson.
Walter Roberson
2017년 6월 9일
I do not know. Try making the change to using csvread, then make sure it runs interactively for you, and then try with the Compiler app.
Which MATLAB version are you using, and which version of Windows are you using?
Jeong_evolution
2017년 6월 9일
First, I working on windows 7. And I tried windows 7 & winodows 8. The same problem occured in 7 & 8. And I will try your solution. Thanks.
Walter Roberson
2017년 6월 9일
Which version of MATLAB are you using?
Jeong_evolution
2017년 6월 10일
I use R 2016 a.
추가 답변 (1개)
Walter Roberson
2017년 6월 10일
0 개 추천
The ability to deploy applications that train networks was not added until R2016b.
댓글 수: 3
Jeong_evolution
2017년 6월 10일
편집: Jeong_evolution
2017년 6월 10일
So, Is it possible deployment from R2017a?
Walter Roberson
2017년 6월 10일
Yes.
Jeong_evolution
2017년 6월 10일
I get a R2017a. So deploy is completed. It runs on Winows 8.1 K. But, In windwos 7, When I run .exe file, there is no reaction. So, I checking the script and so on. Thanks Mr. Roberson.
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)