How do i use script from file exchange?

1 Ansicht (letzte 30 Tage)
Snow sin
Snow sin am 27 Feb. 2018
Kommentiert: Snow sin am 27 Feb. 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..

Akzeptierte Antwort

KSSV
KSSV am 27 Feb. 2018
Bearbeitet: KSSV am 27 Feb. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Automotive finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by