how to remove reference to .net assembly in matlab

前端 未结 3 1009
别那么骄傲
别那么骄傲 2020-12-11 08:19

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

3条回答
  •  青春惊慌失措
    2020-12-11 09:20

    Have you tried cls.delete and then add the reference again?

    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.

    Edit

    Looks like I was wrong, according to this link, "you cannot unload an assembly from MATLAB."

提交回复
热议问题