Error while creating C shared library from matlab function: Failed to set MCR current directory to:
2 views (last 30 days)
Show older comments
I am trying to create a C shared library from matlab function. I am not able to do this due to the following error:
Failed to set MCR current directory to:C:\Users\kdivy\OneDrive\Documents\MATLAB
[Warning: Name is nonexistent or not a directry: C:\Users\kdivy\OneDrive\Documents\MATLAB]
[Warning: Name is nonexistent or not a directory: C:\Users\kdivy\OneDrive\Documents\MATLAB]
[Warning: Name is nonexistent or not a directory: C:\Users\kdivy\OneDrive\Documents\MATLAB]
[Warning: Name is nonexistent or not a directory: C:\Users\kdivy\OneDrive\Documents\MATLAB]
Could not determine type of the MATLAB file 'read.m'. Please make sure that you are compiling MATLAB Program files.
read.m is a simple function that takes no parameter and returns a value
0 Comments
Answers (3)
Alexander Tuma
on 30 Apr 2018
I have the same problem when i want to create a standalone app...
0 Comments
See Also
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!