×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

a problem in using COM Builder

a problem in using COM Builder

a problem in using COM Builder

(OP)
Backgroud:

I just tried to compile a DLL file from COM Builder, in order to use it in a Visual Basic program.

the m file in Matlab is much simple, as follows:

function w=myBoxcar(n)
w=boxcar(n);


Trouble:

when I call the function in Visual Basic, the following warning came out:

Function 'floor' not defined for variables of class 'int16'!


Question:
1. whether the trouble can be solved or not?
2. when I want to compile some other functions in Matlab for using in VB, I also met such a trouble, whether some operaters(or function) in Matlab can't be legal or translated in VB, how to solve this?

Thanks
Good Day!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources