The file CA_BMZ12.mod could not be located in the “Current Folder”. Check whether you typed in the correct filename
and whether the file is really located in the “Current Folder”.
Current folder is C:\DO NOT DELETE\Macroeconomic Models\mmb-gui-mlab-2.3.2\MMB_OPTIONS, and contains the following mod files:
Error using dynare (line 172)
dynare:: can’t open CA_BMZ12.mod
I don’t know why I cannot run this model. The path should’ve been set up correctly. I don’t know what should be wrong? Can someone help me?
It is not clear to me how paths work under Windows/Matlab… But did you try to put your files in a directory where the folder names composing the path do not have spaces?
In the screenshot above, you can see the active folder being C:\Users\Johannes\Downloads\Forum. Here, you need to select the folder where the mod-file is located. It is different from what you set in “Set Path”
Okay thanks! That seems to be a part of the problem. Apparently, Windows automatically opens the mod file by using Media Player, because it thinks that the mod file is a movie … somehow. Do you know an easy way to change the “deafult program” of the mod file type?
I have tried to change the “default program” for mod files. But when I try to change it, the MatLab app doesn’t appear on the screen despite the fact that I have downloaded MatLab. I only get the following options:
I know that. But apparently Windows thinks that the mod file is a Movie and therefore have set the default program to Media Player which somehow makes MatLab unable to understand that the file contains codes and instead thinks that it is just text. I have attached a photo of it:
The file example.mod could not be located in the “Current Folder”. Check whether you typed in the correct filename
and whether the file is really located in the “Current Folder”.
Current folder is C:\Windows\System32, and contains the following mod files:
Error using dynare (line 172)
dynare:: can’t open example.mod
cd
C:\Windows\System32
yes i opened script file from this manue. After run the model i am getting this error message.