FCN error using compiler..
显示 更早的评论
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
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 个评论

In 292 line, trainbr is occured error. I'm sorry. I had to upload the script in advance.
The term "FCN" does not appear here.
I'm sorrry.
FCN = trainFcn.
Are you still having difficulty? If so then please attach the actual code -- not a picture of what the code was at one time.
Here is the m-file & DB.
Thank you for attention.
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?
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 ?
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?
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.
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.
Finally, Are You think the problem is just difference of window environment ? Mr.Roberson.
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?
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.
Which version of MATLAB are you using?
I use R 2016 a.
更多回答(1 个)
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?
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)