Filter löschen
Filter löschen

How to use a function which is not existing in matlab?

1 Ansicht (letzte 30 Tage)
SNEHA P S
SNEHA P S am 15 Mär. 2017
Beantwortet: Walter Roberson am 15 Mär. 2017
Hey, while doing some code for image segmentation i got stuck at an error saying "Undefined function or variable 'superpixels'". And i checked whether the function name exists on matlab search path and i found that superpixels doesnot exist. Now what should i do to use the function superpixels in matlab version R2015a.
  1 Kommentar
KSSV
KSSV am 15 Mär. 2017
This function is introduced in 2016a. Either use the version which has this function or write your code for the functionality.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 15 Mär. 2017
superpixels() was introduced in R2016a, so you can upgrade, or you can write your own version of the code. Or perhaps it happens that https://www.mathworks.com/matlabcentral/fileexchange/50184-slic-superpixels-for-e%EF%AC%83cient-graph-based-dimensionality-reduction-of-hyperspectral-imagery would be useful for you.

Community Treasure Hunt

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

Start Hunting!

Translated by