Why do I get this error since there is only one function?
古いコメントを表示
Hello
I get the below error
Error: File: SegmentBone.m Line: 7 Column: 18
Function with duplicate name "SegmentBone" cannot be defined.
If I use
which SegmentBone
It will give me the correct function "SegmentBone.m" in the working folder. There is no other function having exactly the same name. There are other functions with the name "SegmentBoneDP.mexmaci64" for instance or "SegmentBoneDP.cpp"
But their names are not identical. Thus, they are considered different names. Why do I get the error then?
1 件のコメント
KALYAN ACHARJYA
2019 年 6 月 20 日
編集済み: KALYAN ACHARJYA
2019 年 6 月 20 日
Change the funtion file name (function name and file name), still same issue, let us know.
Then share the SegmentBone.m function file and main code, where you call the function.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!