Problem with Simscape Onramp
69 ビュー (過去 30 日間)
古いコメントを表示
Hello!
I'm trying to access the Simscape Onramp course in browser mode and the Simulink window refuses to open even after waiting for a long time.
The one time it did open, it showed an error when clicking on Submit for the very first assignment.
"Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'. (Figure atached)
Thanks!
3 件のコメント
Sanaullah-ghous
2023 年 12 月 23 日
Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'.
jay
2024 年 2 月 13 日
=== Analysis (Elapsed: 0.66 sec) ===
Error:Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'.
採用された回答
Kannan
2022 年 9 月 29 日
Hi Joydeep,
- Coming to the problem of accessing the Simscape Onramp, Please ensure that your version of MATLAB is R2021a or later before proceeding. This can be confirmed by typing in >> ver at the MATLAB command line.
- You can choose to download the latest version if you have a licence or request for a free trial here : https://www.mathworks.com/campaigns/products/trials.html .
- When on a trial licence please acccess onramp courses from your MATLAB desktop application. Here are the steps to access Simscape Onramp from the MATLAB Command Window:
- Open MATLAB, and ensure that you are logged into your account. Check the upper right corner to verify that you are signed in.
- Type the command below in the Command Window:
learning.simulink.launchOnramp('simscape')
Now coming to the error message Undefined function or variable 'simmechanics.sli.internal.register_datatypes'. The root cause of this issue is under investigation. The workaround is to execute the following command from MATLAB Online.
>> addpath(fullfile(matlabroot,'toolbox/physmod/sm/sli/m'))
6 件のコメント
Richard
2023 年 9 月 28 日
Came here looking for the same issue with the browser version of Simscape Onramp.
Happy to confirm the workaround command worked, and I'm able to continue on!
その他の回答 (5 件)
Ashwini
2024 年 2 月 6 日
Error:Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'.
0 件のコメント
Ashwini
2024 年 2 月 6 日
Error:Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'.
0 件のコメント
khalfallah
2024 年 3 月 18 日
Error:['SimscapeOnramp/Controlled Voltage Source', 'SimscapeOnramp/Electrical Reference', 'SimscapeOnramp/Gear Box', 'SimscapeOnramp/Ideal Rotational Motion Sensor', 'SimscapeOnramp/Inductor', 'SimscapeOnramp/Inertia', 'SimscapeOnramp/Mechanical Rotational Reference', 'SimscapeOnramp/Mechanical Rotational Reference1', 'SimscapeOnramp/PS-Simulink Converter', 'SimscapeOnramp/Resistor', 'SimscapeOnramp/Rotational Electromechanical Converter', 'SimscapeOnramp/Rotational Hard Stop', 'SimscapeOnramp/Simulink-PS Converter']: Each physical network must be connected to exactly one Solver Configuration block. There is no Solver Configuration block connected to Physical Network with the following blocks: 'SimscapeOnramp/Controlled Voltage Source'
'SimscapeOnramp/Electrical Reference'
'SimscapeOnramp/Gear Box'
'SimscapeOnramp/Ideal Rotational Motion Sensor'
'SimscapeOnramp/Inductor'
'SimscapeOnramp/Inertia'
'SimscapeOnramp/Mechanical Rotational Reference'
'SimscapeOnramp/Mechanical Rotational Reference1'
'SimscapeOnramp/PS-Simulink Converter'
'SimscapeOnramp/Resistor'
'SimscapeOnramp/Rotational Electromechanical Converter'
'SimscapeOnramp/Rotational Hard Stop'
'SimscapeOnramp/Simulink-PS Converter'
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Foundation and Custom Domains についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!