How do i use script from file exchange?

1 visualización (últimos 30 días)
Snow sin
Snow sin el 27 de Feb. de 2018
Comentada: Snow sin el 27 de Feb. de 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..

Respuesta aceptada

KSSV
KSSV el 27 de Feb. de 2018
Editada: KSSV el 27 de Feb. de 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.

Más respuestas (0)

Categorías

Más información sobre Automotive en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by