-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running ROSCO on Simulink #268
Comments
Hi, We can't properly test these simulink examples, so we can't support them quite as well. Can you place a breakpoint deeper into Dan |
Thanks for your reply @dzalkind, |
Please post the error that |
Here is the error **Unrecognized function or variable 'FAST2Matlab'. Error in ReadWrite_FAST (line 14) Error in runFAST (line 29) I check both github and also the NREL forum, but cannot get a good response for that yet! |
Have you tried searching for that function and adding it to your matlab path? |
Please see the documentation here: https://github.com/NREL/ROSCO/tree/main/Matlab_Toolbox You need the OpenFAST matlab-toolbox. |
Yes, I have already run the OpenFAST v3.1.0 and it is running correctly. |
I have encountered the same problem as you. Make sure the Matlab-toolbox folder path is added to the Matlab path. |
Hi I am also encountered the same problem, while such error given. The Matlab-Toolbox folder was added, and the fast_dir is: |
Re-directing this issue to #263 |
Hi,
I am trying to run ROSCO on Simulink. First, I added the ROSCO_toolbox to set the path in Matlab.
Then, I changed the directory name for the SFunction and FAST directory.
fast.FAST_SFuncDir = 'D:\OpenFASTbyEhsan\openfast-3.1.0\glue-codes\simulink\src'; %%%% NEED FOR SIMULINK
fast.FAST_InputFile = '5MW_Land_BD_DLL_WTurb.fst'; % FAST input file (ext=.fst)
fast.FAST_directory = 'D:\OpenFASTbyEhsan\openfast-3.1.0\reg_tests\r-test\glue-codes\openfast\5MW_Land_BD_DLL_WTurb'; % Path to fst directory files
I tested it with both FAST v8 and OpenFAST v3.1.0
But I see this error :
Error in ReadWrite_FAST (line 14)
FP = FAST2Matlab(fullfile(fast.FAST_directory,fast.FAST_InputFile),2); %FP are Fast Parameters, specify 2 lines of header (FAST 8)
Can you help me with running ROSCO on Matlab/Simulink?
I run OpenFAST examples and they all run properly!
The text was updated successfully, but these errors were encountered: