Calling <library>Initialize Multiple Times - MATLAB Complier

1 view (last 30 days)
The documentation isn't totally clear, what happens if I call <library>Initialize and <library>Terminate multiple times in a process? I've read some thing that says this leads to undefined behavior. I've been using this paradigm in my software and I've never noticed a problem. I just want to make sure I'm not getting lucky.
For that matter, I've never used the mclInitializeApplication() call either. There is a comment in the code I inherited that says the <library>Initialize() function will call the application initialization routine if necessary. Is this true? The documentation leads me to think it isn't, but again, the code works.

Answers (0)

Categories

Find more on Application Deployment 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!