robotology / idyntree

Multibody Dynamics Library designed for Free Floating Robots
BSD 3-Clause "New" or "Revised" License
169 stars 67 forks source link

[Bindings] [MATLAB] Errors are not printed out in Matlab terminal #74

Open traversaro opened 9 years ago

traversaro commented 9 years ago

@nunoguedelha They used to be printed in the Matlab terminal, right?

nunoguedelha commented 9 years ago

Well, it depends on how you launch Matlab. I think that if you do it from the shell terminal, error print out in that terminal. We had also observed some issues related to SWIG, and used the fix from Joel Andersson ([MATLAB] #7 Redirecting std::cout and std::cerr to mexPrintf) . But since he introduced a flag for activating this redirection ([MATLAB] #7 No redirect of std::cout and std::cerr by default): bool redirectoutput; Have you set this? I haven't checked the print feature for a while.

traversaro commented 7 years ago

In Linux and OS X, I got the errors. In Windows I was not able to see them.