Click here to Skip to main content
Rate this: bad
good
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 12:48pm
FoxRoot910
Edited 27-Nov-12 13:01pm
v2

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

  Print Answers RSS
0 Maciej Los 424
1 ridoy 410
2 DamithSL 240
3 OriginalGriff 179
4 Suvendu Shekhar Giri 150
0 OriginalGriff 8,033
1 DamithSL 6,179
2 Sergey Alexandrovich Kryukov 5,538
3 Maciej Los 5,508
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2014
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