Operating System: Windows 10
Interface Version: Matlab Stan 220.127.116.11, and CmdStan 2.17.1
I have a problem with saving a Stan model in a mat file in Matlab. When I try to save a Stan model in a mat file, Matlab reports a lot of warnings and generates an error after “save” command. It says “file ~.mat cannot be closed, the file might be collapsed”. I can save some other files without problems. The models I cannot save might use larger data, but I am not sure if the data size is the problem. Is there any ways to avoid this problem?