How do i use script from file exchange?

조회 수: 1 (최근 30일)
Snow sin
Snow sin 2018년 2월 27일
댓글: Snow sin 2018년 2월 27일
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..

채택된 답변

KSSV
KSSV 2018년 2월 27일
편집: KSSV 2018년 2월 27일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Automotive에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by