Click here to Skip to main content
13,598,868 members
Rate this:
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
Updated 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02-2016 | 2.8.180621.3 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

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