Error in saving Edge file?

1 view (last 30 days)
Adriana Rios
Adriana Rios on 17 Nov 2021
Commented: KSSV on 17 Nov 2021
Error using save
Unknown command option.
Error in Edge (line 280)
save(sprintf('GLM_%s_agecat_tvalues.edge',behavname),'edgemat','--ascii');

Answers (1)

KSSV
KSSV on 17 Nov 2021
Edited: KSSV on 17 Nov 2021
You have used two hypens before ascii, make it to single hypen and also there is a change in the sprintf command.
save(sprintf('GLM_%d_agecat_tvalues.edge',behavname),'edgemat','-ascii');
  1 Comment
KSSV
KSSV on 17 Nov 2021
It will be saved in the same folder where you run the code.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!