How do i use script from file exchange?

1 vue (au cours des 30 derniers jours)
Snow sin
Snow sin le 27 Fév 2018
Commenté : Snow sin le 27 Fév 2018
I went to this https://www.mathworks.com/matlabcentral/fileexchange/47830-kinect-depth-normalization and went to functions block and copy and paste the code to try and run in matlab i will come across an error
function [filledDepth, zeroPixels] = Kinect_DepthNormalization (depthImage)
|
Error: Function definitions are not permitted in this context.
can anyone teach me how to use script from fileexchange..

Réponse acceptée

KSSV
KSSV le 27 Fév 2018
Modifié(e) : KSSV le 27 Fév 2018
Copy the file....and save it as an mfile on the name Kinect_DepthNormalization (which names automatically)..then be in the folder...and call the function in the command window or in another m file.
  1 commentaire
Snow sin
Snow sin le 27 Fév 2018
Thank you very much

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Automotive dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by