how to import data from matlab to pspice

Hi.

I am an engineering student and I have a project to do which envolves working with both matlab and pspice. I read some things about using spice values in matlab but I found nothing in the other way. I would like to know if it is possible to import data such as values and graphics from matlab to pspice and how to do it. I know pspice is not the best simulation program but its use is compulsory.

Thank you in advance.

AV

Reply to
catarina.runa
Loading thread data ...

On Wed, 17 Dec 2008 08:48:30 -0800 (PST), snipped-for-privacy@gmail.com wrote: [snip]

[snip]

Really? Who told you that?

...Jim Thompson

-- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at

formatting link
| 1962 | I love to cook with wine Sometimes I even put it in the food

Reply to
Jim Thompson

Depends on what you want to do with it. Are you trying to model some part's behavior, or want a custom stimulus on a node, or just want to compare data from your Matlab simulation with your PSpice simulation. All these can be done, but each is different...

Charlie

Reply to
Charlie E.

We have a matrix with the values from a graphic made in Matlab and we want that matrix to be the input of an amplifier/ ECG simulator in pSpice.

Reply to
catarina.runa

Ok, that can be interpreted two ways.

If you want these values to be the signal that is then input into your amplifier, then you need to look at the VPWL_FILE parts. These take the values from a text file, assumed to be in time/voltage (or time/current) pairs, and use that to create the input waveform.

If these are somehow to be the model for the input stage itself, then you will need to explore Etable parts. These basically can take a table of vin/vout (or other similiar combinations) and model a part.

Charlie Edmondson Engineering Inc.

Reply to
Charlie E.

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.