C# and engOpen and long startup.m file

1 view (last 30 days)
Nikolaus Keuth
Nikolaus Keuth on 13 Jan 2012
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
Walter Roberson on 13 Jan 2012
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 Introduction to Installation and Licensing 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!