NET.addAssembly is a script, not a function, in MATLAB 2019a
Show older comments
When I try to execute this function like:
NET.addAssembly(which('FUTEK_USB_DLL.dll'))
I get the error:
Error using NET.addAssembly
Attempt to execute SCRIPT addAssembly as a function:
/Applications/MATLAB_R2019a.app/toolbox/matlab/winfun/NET/+NET/addAssembly.m
When i dug into the function NET.addAssembly (attached), there is literally no content to the function. I just installed MATLAB like 2 days ago on this computer so I didn't mess this function up. What am i missing?
NET.addAssembly is literally just comments.
Accepted Answer
More Answers (1)
Avijit Prakash
on 22 May 2022
0 votes
Unfortunately I wasted so much time to find out that MATLAB says addAssembly is unsupported. Link Here

Categories
Find more on Get Started with Microsoft .NET in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!