sss_stirling_engine not working

조회 수: 4 (최근 30일)
Emmanuel Meneses
Emmanuel Meneses 2021년 4월 21일
댓글: luis Choque 2021년 11월 16일
I am trying to input the example ssc_stirling_engine code into the MATLAB command box and I am getting the 'undefined function or variable' error. I am getting the example straight from Matlab so I am not sure why the error is happening. This is the link where I got the command: Gamma Stirling Engine - MATLAB & Simulink (mathworks.com)

답변 (1개)

Chidvi Modala
Chidvi Modala 2021년 6월 3일
The specified example requires Simscape toolbox. You can run the following command in your MATLAB command window to check if the toolbox is installed:
ver
  • If you do not see the toolbox and you believe that it is installed, try resetting the MATLAB path to the default. MATLAB stores the toolbox information in a cache file. You will need to first update this cache and then reset the path. To do this:
  1. Go to the "Home" menu to "Preferences"
  2. Go to the "General" heading. Click the button "Update Toolbox Path Cache" and press "OK".
  3. Go to the "Home" menu to "Set Path"
  4. Click on "Default", press "OK" to change, then click "Save" and finally "Close". (If you have added any custom paths to MATLAB, you will need to restore those later)
  • Run "ver" again to see if the toolbox is installed. If not, you may need to reinstall this toolbox in order to open this example.
  • Once ver shows your toolbox, run the following command to see if you can find that example:
which ssc_stirling_engine
  • You should be presented with the path(s) of the example file. If you get "ssc_stirling_engine not found", you may need to reinstall that toolbox.
  • If you receive the error message "Has no license available" there is a licensing related issue preventing you from opening that example. You can reach out to our Support Team. They would be able to assist you with licensing issues.
  댓글 수: 2
JeffGomes
JeffGomes 2021년 8월 11일
Dear
I followed the instructions, but the 'ssc_stirling_engine' is still not found, though Simscape does exist in the pathway.
Is there any solution for this prob?
luis Choque
luis Choque 2021년 11월 16일
i have the same problem

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by