The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Spectre/MATLAB toolbox not compatible with a Windows-installed MATLAB
https://designers-guide.org/forum/YaBB.pl?num=1399041723

Message started by esantin on May 2nd, 2014, 7:41am

Title: Spectre/MATLAB toolbox not compatible with a Windows-installed MATLAB
Post by esantin on May 2nd, 2014, 7:41am

Hello,

I have used the Spectre/MATLAB Toolbox for a long time in a Linux MATLAB installation. It works great to create consistent documentation from Spectre simulated data.

Now, I need to plot several graphs but I'm restricted to a Windows MATLAB installation (the graphs generation is part of an automated doc flow that is Windows-inclined). I tried to transfer the toolbox to my Windows environment, but it doesn't work.

After examing the toolbox function in details (the toolbox is available under <mmsim_path>/tools/spectre/matlab), I believe the problem is simply related to a mex-file, specifically cds_innersrr.mexglx.

This mex-file is a C-written function compiled in Linux, and hence not readable through a MATLAB installed in Windows. The extension for Windows should be .mex, and not .mexglx.

Given the above picture, my questions are:
i) Is it only this particular function (cds_innersrr.mexglx) that is prohibiting the toolbox to work properly in my Windows MATLAB?

ii) If so, how do I get a cds_innersrr.mex Windows-compatible function? Is there a way of getting the C-code of cds_innersrr and then compile this function by myself?

Any help is extremely appreciated.

Regards,
esantin

Title: Re: Spectre/MATLAB toolbox not compatible with a Windows-installed MATLAB
Post by Frank Wiedmann on May 5th, 2014, 1:46am

I suggest you present your problem at http://www.cadence.com/community/forums/38.aspx (or contact Cadence support at http://support.cadence.com/).

Title: Re: Spectre/MATLAB toolbox not compatible with a Windows-installed MATLAB
Post by esantin on May 5th, 2014, 4:07am

Thanks, Frank.

I'll try to solve the problem following your suggestion. Then, if I succeed, I come back to share the solution.

Regards,
esantin

P.S.: In fact, before coming here, I tried to post this problem at Cadence Community Forum (your first suggested link), but, unfortunately, I found an issue with my Cadence account registration (related to the Screen Name) that precluded my posting there. I already asked help and hopefully they are working on my account issue.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.