script file VS command window

Dear Friends,
When I runt the code in script ,I receive error as below but when I copy and paste the codes in command window it works correctly . What is the reason ?
Error using project (line 42) Expected H to be a vector of handles to one or more MATLAB graphics objects.

Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 29 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by