Re: System.out.println in Java class called from Matlab



"Stefan" <jo@xxxxxxxxx> wrote in message <gtbp4t$92a$1@xxxxxxxxxxxxxxxxxx>...
I'm currently experimenting with using Java classes in Matlab software.
I wrote a small Java code which uses System.out.println for some status messages. Calling this Java function from the DOS command line works well. But calling it from the Matlab command window doesn't produce the status messages created with System.out.println.
What do I have to do to print Strings to the Matlab command prompt?

Best regards,
Stefan.

It works for me:

java.lang.System.out.println('yupididuda')
yupididuda

also works from within a Java class called from Matlab. Try checking if you're redirecting STDOUT in your Java code.

Yair Altman
http;//UndocumentedMatlab.com

.



Relevant Pages

  • System.out.println in Java class called from Matlab
    ... I'm currently experimenting with using Java classes in Matlab software. ... What do I have to do to print Strings to the Matlab command prompt? ... Best regards, ...
    (comp.soft-sys.matlab)
  • Re: open, read and convert foxpro DBF file
    ... Or are there some java class or 3party java API can ease the job? ... There is a project at java.net, called JavaDBF which I had ... I remember that downloading was tricky for me at first attempt (I ...
    (comp.lang.java.databases)
  • Re: Connecting Java with .Net
    ... G> Does anyone know how to connect .net with java class and get some values ... G> The scenario is this ... With best regards, ... Eugene Mayevski ...
    (microsoft.public.dotnet.distributed_apps)
  • component interaction vs functionality
    ... Assuming that there is a java class that interact with some other ... source-code which methods are responciple for the interaction and which ... should be separatd from the functionality of the class. ...
    (comp.object)