What is syntax error in this line function [TrainingTime, TestingTime, TrainingAccuracy, TestingAccuracy] = ELM(sinc_t​rain.txt,s​inc_test.t​xt,0;1;rad​bas);

1 view (last 30 days)
I can't recognize what is error in this line. plz help me.

Accepted Answer

Walter Roberson
Walter Roberson on 4 Mar 2017
You cannot have ";" to separate parameters.
Perhaps
[TrainingTime, TestingTime, TrainingAccuracy, TestingAccuracy] = ELM('sinc_train.txt', 'sinc_test.txt', [0;1;radbas]);
... it would help if you posted the code in the body instead of the title, as the system modifies titles.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!