How do i use script from file exchange?

1 view (last 30 days)
Snow sin
Snow sin on 27 Feb 2018
Commented: Snow sin on 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..

Accepted Answer

KSSV
KSSV on 27 Feb 2018
Edited: KSSV on 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.

More Answers (0)

Categories

Find more on Automotive in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!