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!