I have created a dll in c#. I added a reference to this dll in MATLAB as shown below. Everything works fine. The problem is that when I want to update my dll I have to close
Have you tried cls.delete and then add the reference again?
cls.delete
I seem to remember clear classes being useful as well. Sorry I can't be more definitive, I don't have Matlab handy to set up an example.
clear classes
Edit
Looks like I was wrong, according to this link, "you cannot unload an assembly from MATLAB."