pop_saveh# pop_saveh(allcoms, filename='eegprephist.m', filepath='.')# Save dataset or session command history to a script file. Parameters: allcoms (str | list[str]) filename (str | Path) filepath (str | Path) Return type: str