Unable to install DLLs for MATLAB per help doc

Vishal Vinayak Kulkarni 20 Reputation points
2024-06-14T05:04:05.56+00:00

https://video2.skills-academy.com/en-us/azure/data-explorer/query-matlab?tabs=windows

This is the link where i found help page to install DLLs in MATLAB to proceed for Azure authentication from MATLAB.

The initial lines of the document asks to download latest NuGet package and install specified library from that.

But if you visit the link and follow and download latest NuGet package, the mentioned library lib\net45 is not available in the package but other libraries are available.

main thing is now, from where to get package which have lib\net45 library and DLLs?

I am using MATLAB 2023b latest Update 6

Other thing I tried is using other libraries and took DLLs from them, but they are not able to get installed as MATLAB throws error saying, dependencies not found. I tried to get all the dependencies too but it still fails.

So, please go through the link and verify if all details could be found and update the help document from where I would be able to perform next steps.

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
501 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 83,891 Reputation points Microsoft Employee
    2024-06-24T08:29:07.0633333+00:00

    @Vishal Vinayak Kulkarni - I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    Ask: Unable to install DLLs for MATLAB per help doc

    Solution: The issue was with the scope usage. I used default scope with above mentioned changes, and now it is working fine.

    The full answer is as follow:

    1. Install .NET framework 6.0 or above.
    2. set the MATLAB environment to use .NET "core"
    • to do this use following commands and steps
    • open MATLAB
    • execute command -> dotnetenv("core")
    • verify the same using command dotnetenv and in its output Runtime should be set to core
    • rehash toolboxcache
    • restart the MATLAB then proceed to add DLLs
    1. Use the default MS Azure scope for further usage

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vishal Vinayak Kulkarni 20 Reputation points
    2024-06-24T11:25:36.9366667+00:00

    The full answer is as follow:

    1. Install .NET framework 6.0 or above.
    2. set the MATLAB environment to use .NET "core"
      1. to do this use following commands and steps
        1. open MATLAB
        2. execute command -> dotnetenv("core")
        3. verify the same using command dotnetenv and in its output Runtime should be set to core
        4. rehash toolboxcache
        5. restart the MATLAB then proceed to add DLLs
    3. Use the default MS Azure scope for further usage