问题
A new block named 'adams_sys_template/adams_sub/ADAMS Plant' cannot be added
结果
导出的Simulink是之前的旧文件,新文件未导出。
解决方法
It seems that the error is from \Adams\2012\controls\matlab. The file "adams_sys_template.mdl" is no longer writeable.
In the directory, there is another file named as "adams_sys_template.mdl.r2009a". The following steps are taken to solve the problem I have faced. (Not sure whether this solution can be generally applied to all PCs ).
1. Removed the "adams_sys_template.mdl"
2. Rename "adams_sys_template.mdl.r2009a" to "adams_sys_template.mdl". So the type of the file is changed!!
3. Go to Matlab, can try again. (For my case, I can successfully generate the Simulink Block).
*******Caution: Pls do a backup before remove/rename the files in the directory, unless you want to reinstall Adams.
结果
可行

免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删