Click here to Skip to main content
11,797,355 members (79,511 online)
Rate this: bad
Please Sign up or sign in to vote.
Hello everyone, I have a assignment. Actually not an importatn course for me. I want to develop myself at .Net. Whatever, I am doing a matlab assignment I completed many parts. But I am taking some error messages. For example, when I insert show_img(parameters) I am taking show_img is undefined(or something like this)
When I made research I learned that; I should insert this fucntion but I have no idea about this. So could you show me some ways, could you help me ?

The actual error message : Undefined function or method 'show_img' for input arguments of type 'double'.

function [ph] = show_img(img, figno, scaled, map)
%SHOW_IMG display an image with possible scaling
% usage: ph = show_img(img, figno, scaled, map)
% img = input image
% figno = figure number to use for the plot
% if 0, re-use the same figure
% if omitted a new figure will be opened
% optional args:
% scaled = 1 (TRUE) to do auto-scale (DEFAULT)
% not equal to 1 (FALSE) to inhibit scaling
% map = user-specified color map
% ph = figure handle returned to caller
I should complete this function.
Posted 27-Nov-12 11:48am
Edited 27-Nov-12 12:01pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 475
1 OriginalGriff 435
2 Maciej Los 370
3 Abhinav S 344
4 KrunalRohit 251
0 OriginalGriff 2,092
1 Maciej Los 1,760
2 KrunalRohit 1,436
3 CPallini 1,245
4 ppolymorphe 893

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100