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!