Home > Community > Forums > RF Design > reading simulation results from cadence to matlab/ cds_innersrr

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 reading simulation results from cadence to matlab/ cds_innersrr 

Last post Wed, Sep 5 2012 11:45 PM by Andrew Beckett. 23 replies.
Started by nevinalex1234 22 Aug 2012 03:05 AM. Topic has 23 replies and 5110 views
Page 2 of 2 (24 items) < Previous 1 2
Sort Posts:
  • Tue, Sep 4 2012 4:19 AM

    Re: reading simulation results from cadence to matlab/ cds_innersrr Reply

     By the way, that version should be new enough not to have the compiler incompatibility.

    Andrew.

    • Post Points: 5
  • Tue, Sep 4 2012 4:28 AM

    • nevinalex1234
    • Top 500 Contributor
    • Joined on Wed, Jul 18 2012
    • aluva, Kerala
    • Posts 26
    • Points 430
    Re: reading simulation results from cadence to matlab/ cds_innersrr Reply

    Yes i ran that from workspace.

    Do i need to copy that cds_srr.m ? I entered the matlab environment so it must automatically read it write ?

    cds_srr is getting correctly initiated in matlab

      but its cds_innersrr thats propping up the issue. In fact there is no pure cds_innersrr.m function in the path. there is only a cds_innersrr.mexglx 

    Is it why the error below props up

    >> cds_srr
    >> help cds_srr
       sig = cds_srr(dirname, dataset, signame, verbose)
       dirname: the path of psf or stt2 results
       dataset: the dataset name in the results, when only 'result dir' give out, the command will return all dataset names.
       signame: the name of signal in the dataset, the command will return all signal names in the dataset,
                when this parameter unset.
     
      Copyright(C) Cadence Design Systems, Inc., 2004-2006. All rights reserved.

    >> nevin=cds_srr('mydir')
    ??? Undefined function or method 'cds_innersrr' for input arguments
    of type 'char'.

    Error in ==> cds_srr at 16
        sig = cds_innersrr(dirname);

     

    • Post Points: 20
  • Tue, Sep 4 2012 4:48 AM

    Re: reading simulation results from cadence to matlab/ cds_innersrr Reply

    No, you don't need to copy it - I was wondering whether you had - I can't see how it is being found if MATLABPATH is not being set. IOt won't find cds_innersrr.mexglx unless MATLABPATH is set.

    Once matlab has started, can you type "path" and then post what it returns.

    Andrew

     

     

    • Post Points: 20
  • Wed, Sep 5 2012 2:38 AM

    • nevinalex1234
    • Top 500 Contributor
    • Joined on Wed, Jul 18 2012
    • aluva, Kerala
    • Posts 26
    • Points 430
    Re: reading simulation results from cadence to matlab/ cds_innersrr Reply
    >> path

            MATLABPATH

        /home/njacob2/matlab
        /cad/adi/apps/cadence/mmsim/linux/10.11.017/tools/spectre/matlab
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/general
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/ops
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/lang
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/elmat
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/randfun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/elfun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/specfun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/matfun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/datafun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/polyfun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/funfun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/sparfun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/scribe
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/graph2d
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/graph3d
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/specgraph
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/graphics
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/uitools
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/strfun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/imagesci
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/iofun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/audiovideo
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/timefun
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/datatypes
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/verctrl
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/codetools
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/helptools
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/demos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/timeseries
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/hds
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/guide
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/plottools
        /cad/local/apps/mathworks/matlab/2009a/toolbox/local
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/controllib
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/dastudio
        /cad/local/apps/mathworks/matlab/2009a/toolbox/matlab/datamanager
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simulink
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simulink/slresolve
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/blocks
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/components
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/fixedandfloat
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/fixedandfloat/fxpdemos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/fixedandfloat/obsolete
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simdemos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simdemos/aerospace
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simdemos/automotive
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simdemos/simfeatures
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simdemos/simgeneral
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/dee
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/dastudio/depviewer
        /cad/local/apps/mathworks/matlab/2009a/toolbox/stateflow/stateflow
        /cad/local/apps/mathworks/matlab/2009a/toolbox/rtw/rtw
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/sigbldr
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simulink/modeladvisor
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simulink/modeladvisor/fixpt
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simulink/MPlayIO
        /cad/local/apps/mathworks/matlab/2009a/toolbox/simulink/simulink/dataobjectwizard
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/hdlshared
        /cad/local/apps/mathworks/matlab/2009a/toolbox/rtw/accel
        /cad/local/apps/mathworks/matlab/2009a/toolbox/stateflow/sfdemos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/stateflow/coder
        /cad/local/apps/mathworks/matlab/2009a/toolbox/commblks/commblks
        /cad/local/apps/mathworks/matlab/2009a/toolbox/commblks/commmasks
        /cad/local/apps/mathworks/matlab/2009a/toolbox/commblks/commmex
        /cad/local/apps/mathworks/matlab/2009a/toolbox/commblks/commblksdemos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/commblks/commblksobsolete/v3
        /cad/local/apps/mathworks/matlab/2009a/toolbox/commblks/commblksobsolete/v2p5
        /cad/local/apps/mathworks/matlab/2009a/toolbox/commblks/commblksobsolete/v2
        /cad/local/apps/mathworks/matlab/2009a/help/toolbox/commblks/examples
        /cad/local/apps/mathworks/matlab/2009a/toolbox/comm/comm
        /cad/local/apps/mathworks/matlab/2009a/toolbox/comm/commdemos
        /cad/local/apps/mathworks/matlab/2009a/help/toolbox/comm/examples
        /cad/local/apps/mathworks/matlab/2009a/toolbox/comm/commobsolete
        /cad/local/apps/mathworks/matlab/2009a/toolbox/control/control
        /cad/local/apps/mathworks/matlab/2009a/toolbox/control/ctrlguis
        /cad/local/apps/mathworks/matlab/2009a/toolbox/control/ctrlobsolete
        /cad/local/apps/mathworks/matlab/2009a/toolbox/control/ctrlutil
        /cad/local/apps/mathworks/matlab/2009a/toolbox/control/ctrldemos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/slcontrollib
        /cad/local/apps/mathworks/matlab/2009a/toolbox/dspblks/dspblks
        /cad/local/apps/mathworks/matlab/2009a/toolbox/dspblks/dspmasks
        /cad/local/apps/mathworks/matlab/2009a/toolbox/dspblks/dspmex
        /cad/local/apps/mathworks/matlab/2009a/toolbox/dspblks/dspdemos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/filterdesignlib
        /cad/local/apps/mathworks/matlab/2009a/help/toolbox/dspblks/examples
        /cad/local/apps/mathworks/matlab/2009a/toolbox/emlcoder/emlcoder
        /cad/local/apps/mathworks/matlab/2009a/toolbox/emlcoder/emlcodermex
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/simtargets
        /cad/local/apps/mathworks/matlab/2009a/toolbox/eml/eml
        /cad/local/apps/mathworks/matlab/2009a/toolbox/fixedpoint/fixedpoint
        /cad/local/apps/mathworks/matlab/2009a/toolbox/fixedpoint/fidemos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/fixedpoint/fixedpointtool
        /cad/local/apps/mathworks/matlab/2009a/toolbox/slvnv/simcoverage
        /cad/local/apps/mathworks/matlab/2009a/toolbox/signal/signal
        /cad/local/apps/mathworks/matlab/2009a/toolbox/signal/sigtools
        /cad/local/apps/mathworks/matlab/2009a/toolbox/signal/sptoolgui
        /cad/local/apps/mathworks/matlab/2009a/toolbox/signal/sigdemos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/spcuilib
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/siglib
        /cad/local/apps/mathworks/matlab/2009a/toolbox/sl3d/sl3d
        /cad/local/apps/mathworks/matlab/2009a/toolbox/sl3d/sl3ddemos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/slcontrol/slcontrol
        /cad/local/apps/mathworks/matlab/2009a/toolbox/slcontrol/slctrlguis
        /cad/local/apps/mathworks/matlab/2009a/toolbox/slcontrol/slctrlutil
        /cad/local/apps/mathworks/matlab/2009a/toolbox/slcontrol/slctrldemos
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/optimlib
        /cad/local/apps/mathworks/matlab/2009a/toolbox/shared/sldv
    • Post Points: 20
  • Wed, Sep 5 2012 2:55 AM

    Re: reading simulation results from cadence to matlab/ cds_innersrr Reply

    Looks as if MATLABPATH is indeed set.

    If you do Help->About in matlab, can you do a screenshot (using ksnapshot say) of the popup and post that (use the Options tab at the top of the Reply to an Existing Message section on the form)?

    Andrew.

    • Post Points: 20
  • Wed, Sep 5 2012 3:10 AM

    • nevinalex1234
    • Top 500 Contributor
    • Joined on Wed, Jul 18 2012
    • aluva, Kerala
    • Posts 26
    • Points 430
    Re: reading simulation results from cadence to matlab/ cds_innersrr Reply
    screenshot

    Andrew Beckett:

    Looks as if MATLABPATH is indeed set.

    If you do Help->About in matlab, can you do a screenshot (using ksnapshot say) of the popup and post that (use the Options tab at the top of the Reply to an Existing Message section on the form)?

    Andrew.

     
    • Post Points: 20
  • Wed, Sep 5 2012 3:28 AM

    Re: reading simulation results from cadence to matlab/ cds_innersrr Reply

    OK, I misread the spectre version you're using. It's before the fix for compiler incompatibility. See:

    http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=11699006

    The fix was in v10.1.1.056.isr5 - you're using an older version.

    You're also actually running on a 64-bit machine (from the Help->About) - you'd said it was 32 bit earlier. In current versions both the 64 bit and 32 bit mex files are included in the directory you have in your MATLABPATH, but in the version you have it only had the 32 bit version. Previously you had to add /64bit to the MATLABPATH for it to work - but then you'd have hit the compiler incompatibility.

    So the solution is to install a newer version of MMSIM10.1 or MMSIM11.1

    Regards,

    Andrew.

    • Post Points: 20
  • Wed, Sep 5 2012 11:38 PM

    • nevinalex1234
    • Top 500 Contributor
    • Joined on Wed, Jul 18 2012
    • aluva, Kerala
    • Posts 26
    • Points 430
    Re: reading simulation results from cadence to matlab/ cds_innersrr Reply

    DONE. SUPER AWESOME

    • Post Points: 20
  • Wed, Sep 5 2012 11:45 PM

    Re: reading simulation results from cadence to matlab/ cds_innersrr Reply
    Sorry it took so long to spot the problem!
    • Post Points: 5
Page 2 of 2 (24 items) < Previous 1 2
Sort Posts:
Started by nevinalex1234 at 22 Aug 2012 03:05 AM. Topic has 23 replies.