Error using smexportonshape command

8 ビュー (過去 30 日間)
Aarish Shah
Aarish Shah 2021 年 3 月 22 日
回答済み: Gargi Patil 2021 年 3 月 25 日
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
Gargi Patil 2021 年 3 月 25 日
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:
  1. Ensure there are no AntiVirus of Firewalls installed on the system that are blocking anything in the MATLAB installation directory.
  2. Check to see if there are any restrictions on the user account and computer that may prevent MATLAB from using its embedded web framework.
  3. If your network setting uses HTTP proxy, modify your network configuration to add an HTTP proxy exception.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by