C# and engOpen and long startup.m file

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

I wonder... could it be a timeout built in to protect in case starting MATLAB hangs?

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

on 13 Jan 2012

Community Treasure Hunt

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

Start Hunting!