The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Converting Matlab Prog TO VHDL using HDL Coder
Replies: 1   Last Post: Mar 24, 2015 9:36 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 2
Registered: 5/6/14
Converting Matlab Prog TO VHDL using HDL Coder
Posted: Aug 21, 2014 9:55 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I want to convert a matlab programme to VHDL using HDL Coder tool but in step 4 i have obtained the following error:

MATLAB command 'quadprog' failed: (optim:quadprog:NonDoubleInput) QUADPROG requires the following inputs to be of data type double: 'H','f','A','b','Aeq','beq'.
the matlab program is :

x=[3 1;3 -1;6 1;6 -1;1 0;0 1;0 -1;-1 0];
y=[1 1 1 1 -1 -1 -1 -1]';
w0=1/1-([0.99 0]*[3 1]');

Can you help me to correct this error.

Thank you

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.