Results 1 to 4 of 4

Thread: Qt and Octave, problem with Octave functions when running embedded with Qt

  1. #1
    Join Date
    Dec 2012
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Android

    Default Qt and Octave, problem with Octave functions when running embedded with Qt

    Hello, I've posted this question on a thread in the newbie forum, but since I consider this a more advanced issue I'm going to post it here, but if the moderators consider this wrong please feel free to remove it.

    I'm currently developing an application with a Qt GUI that uses Octave to do some signal processing to an audio signal (including loading and playing it), to use Octave I'm running it in an embedded mode in which Octave runs in the background (multi-threading is not a necessity for now).

    I'm having trouble when running octave embedded in a Qt project as one of the Octave functions used in my process, hanning() is returning only zeros.

    This doesn't happen if I use Octave embedded without Qt.

    If you can help me or guide me where I can get more help, thank you very much.

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: Qt and Octave, problem with Octave functions when running embedded with Qt

    read my sig.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Dec 2012
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Android

    Default Re: Qt and Octave, problem with Octave functions when running embedded with Qt

    Thanks amleto, I'll be sure to take into account your advice for next time.

    And about the problem, it seemed to be a problem with a previous version of Octave (I had version 3.2), testing the program with version 3.6.2 everything works so far.

    After I got everything working I'm going to make a guide or tutorial on how to use Qt and Octave, since documentation about this is really scarce.

  4. #4
    Join Date
    Sep 2013
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt and Octave, problem with Octave functions when running embedded with Qt

    Hi,
    I'm using octave version 3.6.3 and the problem returned. Unfortunately, the application starts every script returns 0. Maybe someone has an idea how to fix this problem?

Similar Threads

  1. Want to run Octave m-file
    By Tottish in forum Newbie
    Replies: 14
    Last Post: 28th December 2012, 17:22
  2. QProcess with Octave
    By timmu in forum Qt Programming
    Replies: 2
    Last Post: 16th October 2012, 01:50
  3. Avoid frezes while running functions
    By ruben.rodrigues in forum Qt Programming
    Replies: 1
    Last Post: 2nd March 2011, 20:11
  4. Replies: 5
    Last Post: 8th January 2010, 18:03
  5. Trignometric functions in Qt/Embedded
    By grsandeep85 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 20th July 2009, 14:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.