how to overcome the error

The following error shows...
Warning: CONV2 on values of class UINT8 is obsolete. Use CONV2(DOUBLE(A),DOUBLE(B)) or CONV2(SINGLE(A),SINGLE(B)) instead.
In matlab its run with only warning. But after deployment the project it shows the error and didn't make the project run. How to overcome this error

Answers (1)

Stephen23
Stephen23 on 18 Sep 2015
Edited: Stephen23 on 18 Sep 2015
As it suggests, change the code:
conv2(double(A),double(B))

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Asked:

on 18 Sep 2015

Edited:

on 18 Sep 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!