C# and engOpen and long startup.m file
Show older comments
Hello!
We are trying to include Matlab into our C# application. The integration works perfectly on our PCs with a standard installation. At our customer side, they have startup.m files do quite a lot of things. In this case matlab ist started and after a while engOpen returns with an Null Pointer and Matlab closes again. This behaviour can be reproduced if you include a fprintf statement in the startup.m file, which is executed in a loop for 1000000 times.
Do you have any hints for me how to overcome this problem.
1 Comment
Walter Roberson
on 13 Jan 2012
I wonder... could it be a timeout built in to protect in case starting MATLAB hangs?
Answers (0)
Categories
Find more on Get Started with MATLAB 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!