What would cause matOpen in libmat.dll to return null?

2 views (last 30 days)
I am working directly with MATLAB's libmat.dll in a LabView application to build .MAT files.
I am finding the matOpen function call occasionally fails and returns null, what could be causing this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Aug 2019
The following events can cause matOpen to return null:
General File error (Permissions, corrupted)
Failure to Identify the version of the MAT file
Invalid open mode

More Answers (0)

Categories

Find more on Debugging and Analysis in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!