Matlab安装有限元FEM工具箱
將有限元工具箱解壓到D:/Program Files/MATLAB/R2009b/toolbox里面,命名為FEM文件夾
輸入以下命令:
>> addpath('D:/Program Files/MATLAB/R2009b/toolbox/FEM')
>> savepath
再測試是否安裝成功
>> what FEM?????????????????? ?%顯示FEM中所有文件
>> which BeamAssemble ?%顯示其中一個文件的路徑,這樣就安裝成功了。
?
常見功能
which + 函數名——查找該函數的位置,例如
?>> which SpringElementStiffness
D:/Program Files/MATLAB/R2009b/toolbox/fem/SpringElementStiffness.m
?
lookfor +函數名——查找該函數的第一個注釋,例如
>> lookfor SpringElementStiffness
SpringElementStiffness???????? - This function returns the element stiffness
?
help +函數名——查找該函數的用處,例如
>> help SpringElementStiffness
?SpringElementStiffness?? This function returns the element stiffness
???????????????????????????????????????? matrix for a spring with stiffness k.
???????????????????????????????????????? The size of the element stiffness matrix
?????????????????????????????????????????is 2 x 2.
總結
以上是生活随笔為你收集整理的Matlab安装有限元FEM工具箱的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 美国-5大牛校--8条小牛--14好校-
- 下一篇: Win7安vc2008编译报LINK :