Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Warnings when running delta-sigma tool box

Status
Not open for further replies.

Cho Sungil

Newbie level 3
Joined
Aug 14, 2007
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
I study Delta-sigma A/D converter.

To simulate delta-sigma tool box provided mathworks(matlab-free),

I ran matlab(v.2007a).

After running a loaded file(simulateDSM.m), messages followed.

Warning: You are running the non-mex version of simulateDSM.
Please compile the mex version with "mex simulateDSM.c"
Error. simulateDSM needs at least two arguments.


So, I typed 'mex simulateDSM.c'.

But followed message.


cannot open c:\docume~1\

C:\PROGRA~1\MATLAB\R2007A\BIN\MEX.PL: Error: Link of 'simulateDSM.mexw32' failed.

??? Error using ==> mex at 206
Unable to complete successfully.


I want to solve the problem.

Help me, please.
 

amriths04

Full Member level 5
Joined
Jul 15, 2006
Messages
266
Helped
23
Reputation
46
Reaction score
9
Trophy points
1,298
Activity points
2,831
delta-sigma toolbox

just see whether you had copied the tool box to the correct directory as mentioned in that 'cannot open' path.

then it will mex it.
 

    Cho Sungil

    Points: 2
    Helpful Answer Positive Rating

Cho Sungil

Newbie level 3
Joined
Aug 14, 2007
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
warning: you are running the non-mex version of

Thank you

But I don't know what I link directory or file.
 

amriths04

Full Member level 5
Joined
Jul 15, 2006
Messages
266
Helped
23
Reputation
46
Reaction score
9
Trophy points
1,298
Activity points
2,831
delta sigma tool

copy the whole delta sigma toolbox into the work directory within matlab. now, above the command window you will see a path(showing the promp where you are currently working). now change that path to your deltasigma toolbox directory.

now, key in that mex simulateDSM.c comand in the command prompt in matlab.

hope it works.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top