For a Matlab recent updated function, I upgrade my matlab to 2020a. However, it pops up the following warning:
Warning: Variable 'kgrid' originally saved as a kWaveGrid cannot be instantiated as an object and
will be read in as a uint32.
It seems the kWaveGrid function may need to be updated accordingly to Matlab 2020a's requirement.
This new version is online just a month ago. So no rush. Thanks a lot!