Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

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

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

Topic: matlab compile
Replies: 1   Last Post: Apr 19, 2011 5:04 PM

Advanced Search

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

Posts: 139
Registered: 1/7/08
matlab compile
Posted: Apr 19, 2011 4:01 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all

I encountered strange output from compiled matlab file.

I compiled the below function (delete.m):

function [out]=delete(in)

>> mcc -m delete.m

In the DOS, I do this:
C:\> delete(10)
out=4000 4900 4100

C:\> delete(1)
out=4000 4900 4100

However, those results are wrong. delete(10) should be 1000, and delete(1) shold be 100. Could you help what's the problem here?


Date Subject Author
Read matlab compile
Young Ryu
Read Re: matlab compile
Steven Lord

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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.