Error in saving Edge file?

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

It will be saved in the same folder where you run the code.

Sign in to comment.

Tags

Asked:

on 17 Nov 2021

Commented:

on 17 Nov 2021

Community Treasure Hunt

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

Start Hunting!