While opening he simulink library.I do not see the WEC-Sim Library
조회 수: 9 (최근 30일)
이전 댓글 표시
Hello, I am a student using WEC-Sim for the first time. I am trying to practice and watch tutorials in order to prepare for an internship, and I had a few questions about the installation process.
I am on this step of the process:
"Copy the code in the 'wecSimStartup.m' shown above and paste it into the 'startup.m' file located in the MATLAB Startup Folder. Set the 'wecSimPath' variable to the '$wecSim' folder and open the 'startup.m' file by typing 'open startup.m' into the MATLAB Command Window:"
I think I am doing this step incorrectly because whenever I open the Simulink Library Browser, I do not see the WEC-Sim Library
I would truly appreciate some help on how to create a startup.m file. Is it just a regular, new matlab file I need to create? Thank you.
답변 (1개)
Tarunbir Gambhir
2020년 12월 2일
Please set the 'wecSimPath' variable to the folder location of '$wecSim/source' in the 'startup.m' file and restart MATLAB. If the file location is in the MATLAB Startup folder, this should add the WEC-Sim Library in Simulink.
댓글 수: 3
Nu Aji
2021년 1월 27일
I'm sorry before, but i have the same problem with you. I've been following the steps but the library of WEC SIM didn't appear on my Simulink. Any idea?
Devesh Singh
2021년 11월 16일
Can you please upload a video how to add wecSim library in Simulink??
Thank you.
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!