Attempt to execute SCRIPT mapping as a function
1 次查看(过去 30 天)
显示 更早的评论
hie. i have a code which is fusing different classifiers in order to classify the data. this code is using prtools and i have got a mapping.m file in my prtools mapping folder. when i run the code i get this error: "Attempt to execute SCRIPT mapping as a function". the problem is that the code seems to apply this mapping.m as a function while it is really not. when i try : which -all mapping it returns me the path of the mapping file in prtools.(i also have a mapping.p file in this folder). when i open this mapping.m file in prtools, it is an all commented file explaining about Mapping class constructor. i really have no idea what to do with its instructions and why my fusion code is considering this file as a function. i attach my code, my train and test datasets and the mapping.m file. u need to have the prtools included in your matlab toolboxes to run this code.any idea will worth a lot to me since i really need to get this code run.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!