Azzera filtri
Azzera filtri

Error using smexportonshape command

8 visualizzazioni (ultimi 30 giorni)
Aarish Shah
Aarish Shah il 22 Mar 2021
Risposto: Gargi Patil il 25 Mar 2021
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!

Risposte (1)

Gargi Patil
Gargi Patil il 25 Mar 2021
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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by