Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2024-02-01 18:54:34 +01:00 committed by GitHub
parent e4528eb71f
commit d100e52076
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -141,6 +141,19 @@ If you change the py file, then you need to clean it from the memory via
>> clear classes >> clear classes
``` ```
Future David here: Well, I had to do this for a file gauss_smear.py with a function gauss_smear:
```matlab
if ~exist('mod', 'var')
mod = py.importlib.import_module('gauss_smear');
end
py.importlib.reload(mod);
clearvars -except mod
mod.gauss_smear(2.0, 0.1)
```
## Save a numpy file with Matlab ## Save a numpy file with Matlab
In Matlab we save data into numpy file: In Matlab we save data into numpy file: