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"

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 5 Août 2015
I suppose you are trying to run
function[T,S]=MCDK(X)
The correct way is
[T,S]=MCDK(X)

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by