运行自带的.mod文件为什么会出现“无法解析名称 example1.driver。”

9 ビュー (過去 30 日間)
Xuewen Fan
Xuewen Fan 2022 年 1 月 21 日
回答済み: 2023 年 8 月 15 日
下载安装matlab和dynare之后,运行dynare自带的example1,出现“无法解析名称 example1.driver。”
>> dynare example1.mod
Starting Dynare (version 5.0).
Calling Dynare with arguments: none
Starting preprocessing of the model file ...
Found 6 equation(s).
Evaluating expressions...done
Computing static model derivatives (order 1).
Computing dynamic model derivatives (order 2).
Processing outputs ...
done
Preprocessing completed.
无法解析名称 example1.driver。
出错 dynare (第 281 行)
evalin('base',[fname '.driver']);
  2 件のコメント
波
2023 年 8 月 15 日
有没有大神解决啊?我也遇到这个问题。将Matlab和dynare重装,小心翼翼地设置路径等,但是运行任何一个mod文件,都是如此。
unable to resolve name ‘fs2000.driver’。
error dynare ( line 278 )
evalin(‘base’,[fname ‘.driver’]);
波
2023 年 8 月 15 日
I just now worked out this problem! I share my resolution:
I created a working folder, works, outside of the matlab directory to place the mod files. Then in matlab
>>cd:\soft\ works
>>dynare bkk
succeeded!

サインインしてコメントする。

回答 (1 件)

波
2023 年 8 月 15 日
I just now worked out this problem! I share my resolution:
I created a working folder, works, outside of the matlab directory to place the mod files. Then in matlab
>>cd:\soft\ works
>>dynare bkk
succeeded!

カテゴリ

Help Center および File Exchange编程 についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!