Error using smexportonshape command
显示 更早的评论
While trying to export my CAD model into an xml file using smexportonshape, i got the following error:
Error using fopen
Unable to find file. Ensure file exists and path is valid.
Error in smexportonshape_implementation
Error in smexportonshape_implementation
Error in smexportonshape (line 38)
xmlFileName = smexportonshape_implementation(url, varargin{:});
Error in mbdproject_xml (line 2)
xmlfile_mbd = smexportonshape(url);
Here is my code:
url = "https://cad.onshape.com/documents/05690ca95ec8f00d95e91967/w/53f3dc710c674a90f806995d/e/64e9b9125b0372db0a0b8d65";
xmlfile_mbd = smexportonshape(url);
What is going wrong? Any help would be appreciated. Thanks!
回答(1 个)
Gargi Patil
2021-3-25
0 个投票
The error thrown by smexportonshape described above has been recorded in the following bug report:
You can try the workaround mentioned in the report or update to R2020a.
You can also verify the following:
- Ensure there are no AntiVirus of Firewalls installed on the system that are blocking anything in the MATLAB installation directory.
- Check to see if there are any restrictions on the user account and computer that may prevent MATLAB from using its embedded web framework.
- If your network setting uses HTTP proxy, modify your network configuration to add an HTTP proxy exception.
类别
在 帮助中心 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!