필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I think I may have damaged Griddata.m how can I restore it ?

조회 수: 1 (최근 30일)
Stephen Coss
Stephen Coss 2017년 1월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
I was messing around in the griddata function to try and figure out why it was generating some of the values it was for my interpolation, and now it's super slow. I think I might have changed the file somehow, by accident, and would like to revert to the original function.

답변 (1개)

Jyotish Robin
Jyotish Robin 2017년 2월 2일
Hi Stephen,
Typically, you should not make changes to files and directories in 'matlabroot'/toolbox.
The basic way to fix this is to reinstall MATLAB. But If you can find the original copy of 'griddata.m', you can replace yours with that one. You can type
>>which griddata
on the MATLAB command prompt to see where it should be located.
Generally it should be located here: 'matlabroot'\toolbox\matlab\sparfun\gmres.m
Then run
>>rehash toolboxcache
to update the search path and cache file.
Good luck.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by