what is the problem with my function?

i'm having a problem with my function..
function[T,S]=MCDK(X)
then it says "ERROR; Function definitions are not permitted in this context"

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 8 月 5 日

0 投票

I suppose you are trying to run
function[T,S]=MCDK(X)
The correct way is
[T,S]=MCDK(X)

この質問は閉じられています。

質問済み:

2015 年 8 月 5 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by