Thread Subject:
Output of Matlab Engine Session

Subject: Output of Matlab Engine Session

From: Heinrich Acker

Date: 20 Dec, 2007 17:51:56

Message: 1 of 1

Hello everybody,

the Matlab engine API has a function engOutputBuffer that
allows to catch the text output that usually would go to
the command window. I have written and tested a program
with the Matlab IDE, and developed an application that uses
the engine. After putting together both, I found one flaw
in an otherwise well working system: The progress
information from the Matlab program gets visible in one
block after the engine call returns, because my single-
thread application can read the text buffer only then.

I would like to know if it helps to make the application
multi-threaded, i.e. if the text buffer is written by the
engine immediately at the time it executes a statement that
creates output. And does it perhaps create new problems to
read the text buffer while the engine executes a program?

Heinrich

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
matlab engine Jürgen 1 Feb, 2008 04:38:00
matlab engine Heinrich Acker 20 Dec, 2007 12:55:01
rssFeed for this Thread

Contact us