Error using smexportonshape command

조회 수: 6 (최근 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 CenterFile Exchange에서 Introduction 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