Error using imageBrowser in a Script

I'm trying to use 'imageBrowser' in a Script. It works fine at the beginning but it seems that Matlab is not able to read the following command to 'imageBrowser', it doesn't matter which function I'm using next, it keep saying :
"Undefined function '...' for input arguments of type 'double'. "
It's working fine in the command window but doesn't work in a script and I don't understand why !
Thank you in advance for the help

Answers (1)

xiao
xiao on 10 May 2018
paste the code under command window and script respectively.

Asked:

on 9 May 2018

Answered:

on 10 May 2018

Community Treasure Hunt

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

Start Hunting!