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.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

質問済み:

2020 年 5 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by