Menu

diorama support for Matlab 2016b (64bit)

2017-05-04
2017-05-13
  • Nagasai Boppudi

    Nagasai Boppudi - 2017-05-04

    Hi,
    I tried to run diorama on matlab 2016b. I followed the instructions for mex-file compilation and it didnt throw any error but if i try to run diorama(.m). It is throwing the following errors.

    1.Error using message
    Invalid Message ID format: 'clear'.

    Error in diorama (line 186)
    eval('message(''clear'')');

    I assume this message ID format is not supported in this version of Matlab(Please correct me if this is not the case)

    So, I commented the line and tried again. It threw similar errors as shown

    2.Error using message
    Invalid input for argument 1 (rhs1):
    Value must be a string.

    Error in equalization_init>message_ (line 456)
    eval('message(varargin{:})');

    Error in equalization_init (line 424)
    message_(3<=VERBOSE_LEVEL, sprintf('loading initialization file "%s"...', MY_INIT_FILENAME));

    Error in demodulation_and_equalization (line 170)
    values = equalization_init;

    Error in diorama (line 202)
    demodulation_and_equalization;

    3.Error using message
    Invalid Message ID format: 'flush'.

    Error in diorama (line 207)
    message('flush');

    So, I commented all the "message" lines that causing the error. Then It threw the following major error
    

    4.Error using wavrecordex (line 79)
    computer system not supported

    Error in input_data_reading (line 166)
    wavrecordex; %stop all pending recording threads

    Error in diorama (line 201)
    input_data_reading;

    There seems to be problem in the waverecordex function. A part of the function giving the error is shown below. waverecordex is used to stop all the pending recording threads.

    function varargout = wavrecordex(varargin)

    if (isequal(computer,'GLNX86')|isequal(computer,'LNX86'))
    if (nargin==0)
    wavio_linux(0);
    else
    [y, phase_diff, phase_offset] = wavio_linux(0,varargin{:});
    end

    elseif(isequal(computer,'PCWIN'))
    if (nargin==0)
    wavrecord_directx;
    else
    [y, phase_diff, phase_offset] = wavrecord_directx(varargin{:});
    end

    else
    error('computer system not supported');

    end

    My computer is 64bit windows(win64) and waverecordex has suppport only for 'PCWIN','glnx86'(32 bit). It would be great if these errors are addressed.

    Thank You.

     

    Last edit: Nagasai Boppudi 2017-05-04
    • Julian Cable

      Julian Cable - 2017-05-04

      Hi. I ported diorama to GNU Octave. The original project is here: http://nt.eit.uni-kl.de/static/diorama/index.html where it says waverecordex is Linux and Win32. You can probably get it to work in win64 but I don't know what would be involved.

      Sent from my iPhone

      On 4 May 2017, at 07:03, Nagasai Boppudi nagasaiboppudi@users.sf.net<mailto:nagasaiboppudi@users.sf.net> wrote:

      Hi,
      I tried to run diorama on matlab 2016b. I followed the instructions for mex-file compilation and it didnt throw any error but if i try to run diorama(.m). It is throwing the following errors.

      1.Error using message
      Invalid Message ID format: 'clear'.

      Error in diorama (line 186)
      eval('message(''clear'')');

      I assume this message ID format is not supported in this version of Matlab(Please correct me if this is not the case)

      So, I commented the line and tried again. It threw similar errors as shown

      2.Error using message
      Invalid input for argument 1 (rhs1):
      Value must be a string.

      Error in equalization_init>message_ (line 456)
      eval('message(varargin{:})');

      Error in equalization_init (line 424)
      message_(3<=VERBOSE_LEVEL, sprintf('loading initialization file "%s"...', MY_INIT_FILENAME));

      Error in demodulation_and_equalization (line 170)
      values = equalization_init;

      Error in diorama (line 202)
      demodulation_and_equalization;

      3.Error using message
      Invalid Message ID format: 'flush'.

      Error in diorama (line 207)
      message('flush');

      So, I commented all the "message" lines that causing the error. Then It threw the following major error

      4.Error using wavrecordex (line 79)
      computer system not supported

      Error in input_data_reading (line 166)
      wavrecordex; %stop all pending recording threads

      Error in diorama (line 201)
      input_data_reading;

      There seems to be problem in the waverecoedex function. A part of the function giving the error is shown below. waverecordex is used to atop all the pending recording threads.

      function varargout = wavrecordex(varargin)

      if (isequal(computer,'GLNX86')|isequal(computer,'LNX86'))
      if (nargin==0)
      wavio_linux(0);
      else
      [y, phase_diff, phase_offset] = wavio_linux(0,varargin{:});
      end

      elseif(isequal(computer,'PCWIN'))
      if (nargin==0)
      wavrecord_directx;
      else
      [y, phase_diff, phase_offset] = wavrecord_directx(varargin{:});
      end

      else
      error('computer system not supported');

      end

      My computer is 64bit one and waverecordex has suppport only for 'PCWIN','glnx86'(32 bit). It would be great if these errors are addressed.

      Thank You.


      diorama support for Matlab 2016b (64bit)https://sourceforge.net/p/drm/discussion/compiling/thread/f9ad528f/?limit=25#79bb


      Sent from sourceforge.nethttp://sourceforge.net because julian.cable@bbc.co.ukjulian.cable@bbc.co.uk is subscribed to https://sourceforge.net/p/drm/discussion/compiling/

      To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/drm/admin/discussion/forums. Or, if this is a mailing list, you can unsubscribe from the mailing list.


      http://www.bbc.co.uk
      This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
      If you have received it in error, please delete it from your system.
      Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
      Please note that the BBC monitors e-mails sent or received.
      Further communication will signify your consent to this.


       
  • Nagasai Boppudi

    Nagasai Boppudi - 2017-05-13

    hi,
    I tried to run diorama on GNU octave version 3.8.1 on Ubuntu 14.04(32 bit). It threw a few warnings and errors as shown in the image below. It would be great if you could address these errors. Thank You.!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.