Skip to content

ABOUT HOW TO RUN THE SCDM MATLAB CODE? #1

@tsiayigong

Description

@tsiayigong

Dear developers,
There is a problem when I want to run the SCDM code, if you can give me a detailed tutorial? Such as, After the end of pw2wannier90.x, which m files should I use matlab to run, and the meaning of the parameters in the input file.
When I use the command ' matlab -nodesktop -nosplash -r redUNK', I got a problem 'Not enough input arguments. Error in readUNK (line 3) fname = sprintf('UNK%05d.1',k);' . When I changed the command to ‘matlab -nodesktop -nosplash -r redUNK(1)’, I got a new error ‘Error using fscanf
Invalid size.

Error in readUNK (line 10)
Unk = fscanf(fid,'%g',2nxnynznband);
’.

If you can help me to solve the problem?

Thank you for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions