When I saw the error of windows update error 0x80070002, it is annoying. My solution is to utilize the official website https://www.catalog.update.microsoft.com/Home.aspx to download the target update item which can be seen from the windows update history of windows.
SEMA的驱动形式与传统电机不同,其力可以直接作用于物体而不需要通过齿轮、连杆等结构传递。我们设计了如图3 所示的鱼尾结构(图4(A)),并使用其用于混合染料,相对于传统的磁力搅拌器,SEMA的搅拌器的效率更高(图4(B))。进一步地,我们设计了花形SEMA(图4(C)),其由5个可独立控制的SEMA构成。通过编程,其可以实现复杂的构型(图4(D))。实验结果表明,花形SEMA可以实现80 ms 完全闭合或者开启。最后设计了多面体SEMA(图4(E))从而实现了在不同环境中都可以驱动,不存在自锁行为即结构只有面内变形而没有面外弯曲变形。
When I finish the installment of AQBAQUS document, I cannot open it with chrome but that file can be open with Microsoft EDGE. Then it is found the chrome cannot read the local HTML file. The solution is to make chrome able to read the local HTML file. got the chrome shortcuts and change the target of the shortcuts, add a short line”–allow-file-access-from-files”.
一.安装MATLAB Engine API for python install MATLAB Engine API for Python
Windows系统
cd “matlabroot\extern\engines\python” python setup.py install Mac or Linux系统 cd “matlabroot/extern/engines/python” python setup.py install 这里的”matlabroot”是你matlab所在的安装路径,注意,上面两个地址中的反斜杠是不同的。
二.用Python调用脚本或者函数 Call User Script and Function from Python
脚本 在当前目录下,MATLAB建立triarea.m脚本文件,内容如下
b = 5; h = 3; a = 0.5(b. h) 然后同目录下新建一个test.py,内容如下 import matlab.engine eng = matlab.engine.start_matlab() eng.triarea(nargout=0)
函数 MATLAB建立一个function文件,内容如下:
function a = triarea(b,h) a = 0.5(b. h); 同样,test.py修改如下: import matlab.engine eng = matlab.engine.start_matlab() ret = eng.triarea(1.0,5.0) print(ret) # 2.5