Thread Subject: compilation error in MATLAB 2010

Subject: compilation error in MATLAB 2010

From: VENKATESH S

Date: 22 Sep, 2011 18:55:26

Message: 1 of 2

Hi,
I got the compilation error for the below code segment,
is there anything wrong with this code?
kindly let me know.

 if isa(imageArray, 'uint32') || isa(imageArray, 'double')
 minGL = min(min(imageArray));
 maxGL = max(max(imageArray));
 % Create a double image in the 0-1 range for taking the histogram.
 dblImageArray = (double(imageArray) - double(minGL)) / double(maxGL);
 [minGL maxGL gl1Percentile gl99Percentile] = PlotHistogram(dblImageArray);
 % Create an image in the 0-255 range (for saving later as a tiff
 file)


Thanks & Regards,
Venkatesh S

Subject: compilation error in MATLAB 2010

From: Steven_Lord

Date: 23 Sep, 2011 13:43:57

Message: 2 of 2



"VENKATESH S" <vensk27@yahoo.com> wrote in message
news:j5g0au$1er$1@newscl01ah.mathworks.com...
> Hi,
> I got the compilation error for the below code segment,

WHAT compilation error? Without seeing the specific error message you
receive, and ideally the command you used to try to compile this code, it's
going to be really difficult to figure out what's going on.

*snip*

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com