Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

what is the problem with my function?

1 view (last 30 days)
Nadhirah Jofri
Nadhirah Jofri on 5 Aug 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
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"

Answers (1)

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

This question is closed.

Community Treasure Hunt

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

Start Hunting!