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: 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)
%code
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.

-Mathew




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

[Privacy Policy] [Terms of Use]

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