While opening he simulink library.I do not see the WEC-Sim Library

3 views (last 30 days)
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.

Answers (1)

Tarunbir Gambhir
Tarunbir Gambhir on 2 Dec 2020
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 Comments
Nu Aji
Nu Aji on 27 Jan 2021
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
Devesh Singh on 16 Nov 2021
Can you please upload a video how to add wecSim library in Simulink??
Thank you.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!