필터 지우기
필터 지우기

Attempt to execute SCRIPT mapping as a function

조회 수: 1 (최근 30일)
hiva
hiva 2016년 4월 5일
답변: hiva 2016년 4월 5일
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.

답변 (1개)

hiva
hiva 2016년 4월 5일
i figured it out! the error was all about setting a path to prtools folder for matlab.

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by