Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Stephen Coss
Stephen Coss el 17 de En. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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.

Respuestas (1)

Jyotish Robin
Jyotish Robin el 2 de Feb. de 2017
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.

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by