Can MatLabReader use a URL as the file location of the .mat file? #788
Replies: 2 comments
-
Here's my code: using System; namespace TestMatlabAzure
} |
Beta Was this translation helpful? Give feedback.
-
While I do understand that this could be convenient, to be honest I don't think a math library should be in the business of opening any network connections. From this point of view, actually even the method accepting a file path (instead of just a stream or reader) was maybe design mistake. Although maybe justifiable due to low risk/effort/complexity - neither of which would be true for networking though. |
Beta Was this translation helpful? Give feedback.
-
I have the following code, which works fine:
String filePath = "C:\MyFolder\MyMatFile.mat";
Matrix m = MatlabReader.Read(filePath);
However when I change filePath to a URL, I get the following error:
String filePath = "https://myproj.blob.core.windows.net/mycontainer/MyMatFile.mat";
Matrix m = MatlabReader.Read(filePath);
Error: System.NotSupportedException: The given path's format is not supported.
Beta Was this translation helpful? Give feedback.
All reactions