Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
SNEHA P S
SNEHA P S le 15 Mar 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 commentaire
KSSV
KSSV le 15 Mar 2017
This function is introduced in 2016a. Either use the version which has this function or write your code for the functionality.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 15 Mar 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