Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in compile when running example rat #63

Open
NemesisAmos opened this issue Dec 17, 2022 · 1 comment
Open

Error in compile when running example rat #63

NemesisAmos opened this issue Dec 17, 2022 · 1 comment

Comments

@NemesisAmos
Copy link

Hi brian:

I tried to install matlabstan following the instructions on wiki to my windows system(cmdstan 2.31.0 from cmdstanr, MatlabProcessManager and matlabstan from your project). I also modified the code StanModel.m to make it work on windows
But I still got error message when trying to run example file rat.m
The error messages are as follows:

Error using StanModel/compile (line 906)
compile: 'cut' is not an internal or external command, nor a runnable program
compile: or batch file
compile: 'cut' is not an internal or external command, nor a runnable program
compile: or batch file
compile: INFO: The file could not be found in the mode provided.
compile: process_begin: CreateProcess(NULL, expr >= 8, ...) failed.
compile: mingw32-make: *** No rule to make target 'E:/MATLAB'。 Stop。

Error in StanModel/sampling (line 736)
self.compile();

Error in stan (line 138)
fit = model.sampling(p.Unmatched);

Error in rats (line 20)
fit = stan('file','rats.stan','data',rats_dat,'verbose',true);

Could you please help me to resolve this problem?

Best,
Amos

@cyf203
Copy link

cyf203 commented Jun 7, 2023

Similar problem here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants