MATLAB Answers

Matlab automation not refreshing script/function changes

2 views (last 30 days)
Jo
Jo on 26 Sep 2011
I'm using matlab automation from C#(it shouldn't matter where). I edit a matlab function for mistakes/tweaks as I run my C# code. After a while matlab starts ignoring the changes and I have to reboot to get it to recognize the changes again(and it works for a bit then starts ignoring again).
Is there command or something that tells matlab to stop ignoring file changes or to refresh?

Answers (1)

Walter Roberson
Walter Roberson on 26 Sep 2011
Are you using
rehash
after you make your changes? You should.

Community Treasure Hunt

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

Start Hunting!