フィルターのクリア

Importing CAD model from OnShape

2 ビュー (過去 30 日間)
Deepen Solanki
Deepen Solanki 2019 年 10 月 14 日
コメント済み: Mosedi Edwin Maphale 2021 年 10 月 13 日
I am trying to import a CAD model from OnShape.
I tried running the example given here https://www.mathworks.com/help/physmod/sm/ref/smexportonshape.html but I get the following error -
"Error using smexportonshape_implementation"
"Failed to complete user authentication."
"Error in smexportonshape (line 38)"
"xmlFileName = smexportonshape_implementation(url, varargin{:});"
"Error in OnShape_try (line 2)"
"xmlfile = smexportonshape(url);"
When I run the script, I am redirected in my browser to a page which says Success and gives me a random code.
I am runnning Matlab R2019b
Thanks in advance
  2 件のコメント
LEO LEON
LEO LEON 2019 年 10 月 14 日
same problem here...
Muhammad Atif Ali
Muhammad Atif Ali 2020 年 5 月 12 日
same problem here

サインインしてコメントする。

回答 (1 件)

Harshal Upadhyay
Harshal Upadhyay 2019 年 10 月 25 日
There is a bug report rgarding this https://www.mathworks.com/support/bugreports/1974098
Please try the following workaorund :
In the MATLAB toolstrip, on the Home tab, in the Environment settings, click Preferences. In the left pane of the Preferences settings, click Web. In the MATLAB Web Preferences settings, clear the Use system web browser when opening links to external sites (recommended) check box.
You can also upgrade to the R2019b Update1 which contains the fix to this bug.
  3 件のコメント
Aarish Shah
Aarish Shah 2021 年 3 月 18 日
i am facing the same error even after the update
Mosedi Edwin Maphale
Mosedi Edwin Maphale 2021 年 10 月 13 日
I'm using MATLAB R2020b and I faced the same error.
Since I'm using campus WIFI, I selected "Use a proxy server to connect to the internet" and used the campus WIFI proxy host and port, together with my username and password. Then the error was fixed.

サインインしてコメントする。

カテゴリ

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