help about skill language and cadence to matlab

Status
Not open for further replies.

youyang

Member level 3
Joined
Mar 17, 2006
Messages
55
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,288
Activity points
1,705
I want to put the data generated from spectre into matlab, and therefor follow instructions like this:

http://www.et.byu.edu/groups/ece451web/cadence-help/cadTOmat.html

but CIW gives me error note like:

*error* for: too few arguments (at least 4 expected, 1 given)-((tt 1 51 (time=(&-&)) fprintf (out "%5.3" time)))

I have no change in the 'for' function from the instruction above.

Why it gives this error? I donot think there are too few arguments in the 'for' function.

Have another way to do this job---cadence to matlab?
 

well, i have fixed this problem by following the instructions:

1) Using the calculator, select the desired output signals
2) Click on printvs in the calculator window
3) A Printvs Range window will appear. You can define the range of values desired for your output signal, i.e. a frequency range if you are printing an AC signal or a time range if you are printing a transient signal
4) A Results Display window will appear. Your data will be displayed in column format. Click Window -> Print … and then select Print To -> File. Enter a filename.txt.
5) You can then import the column data from the .txt file into Matlab.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…