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: calling compiled function from command prompt window
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Mathew Thomas

Posts: 171
Registered: 6/17/09
calling compiled function from command prompt window
Posted: May 25, 2012 4:44 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello All,

I have a the following function:

function downsamp2D(data, new_size)
data = imread(data); %data will be something like 'img.tif'

I have compiled the code into 'trial.exe'. How can I call this from the command prompt window ?

> trial.exe downsamp2D('img.tif', [128,128]);

I get an error: Not enough input arguments.

How do I call this correctly ?

Thanks in advance.


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.