フィルターのクリア

I got an error.Function definitions are not permitted in this context.

1 回表示 (過去 30 日間)
Bishow Shrestha
Bishow Shrestha 2017 年 9 月 30 日
コメント済み: Bishow Shrestha 2017 年 10 月 1 日
I have saved it with main file with this name. I couldn't figure out what's wrong I the function. When I go for description they said nested function cannot be defined in control variable, but there is no other function inside function to make it nested structure. Thanks
  2 件のコメント
OCDER
OCDER 2017 年 9 月 30 日
編集済み: OCDER 2017 年 9 月 30 日
What is the command you used that generated the error (values for from, to, etc)? Also, what is the FULL error message (should point to a line number error)?
Bishow Shrestha
Bishow Shrestha 2017 年 9 月 30 日
This is the message I got: Error: File: shiftbasis.m Line: 1 Column: 3 Function definitions are not permitted in this context.
put any number from 1 to 10 .thanks

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2017 年 9 月 30 日
You need to delete that digit 1 that is in the first column of the first line.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by