Facing Problem using PlotFASToutput function

Hi Team,

I am using FAST_v8.16.00a-bjj and trying to plot the results of the example “Run_Test01_SIG.m” in the sample folder of Simulink. The code runs successfully but I receive the error bellow while plotting,

[code]>> PlotFASToutput({’…/…/CertTest/Test01.SFunc.out’,’…/…/CertTest/Test01.out’},{‘SFunc’,‘exe’});
ReadFASTtext::Error -1 reading from file, “…/…/CertTest/Test01.out”
Index exceeds matrix dimensions.

Error in PlotFASToutput (line 171)
outData{iFile,1} = data{iFile}(:,1);[/code]

Thank you for maintaining this awesome forum. A lot of issues I face were answered by you guys on this forum so just had to go through but this one I couldn’t find.

Regards,

Dear Kamran,

Are you sure that the FAST output file “Test01.out” exists in the directory you reference?

Best regards,

Dear Jason,

Thank you for your reply.

The file “Test01.out” doesn’t exist in the respective directory. The test runs successfully but why the file is not created? Am I missing something?

Best Regards,

Kamran

Dear Kamran,

Was a binary output (.outb) file created instead of a text-based output (.out) file? Is the associated summary file, Test01.fst, created?

Best regards,

Dear Jason,

Thank you for your reply.

I am using Matlab 2015a and when I run simulation Test01_SIG for Test01, the highlighted four files in the image attached are created in the folder “CertTest”.

The simulation results this

Dear Kamran,

It looks like you ran FAST using the MATLAB/Simulink interface fine.

In your first post, however, you used the command:

PlotFASToutput({'../../CertTest/Test01.SFunc.out','../../CertTest/Test01.out'},{'SFunc','exe'});

which means that you are trying to plot the outputs of two FAST simulations–one using the MATLAB/Simulink interface (Test01.SFunc.out) and one using the FAST executable (Test01.out). It looks to me that you ran the former, but not the latter. If you want to compare the results from the MATLAB/Simulink interface to those from the FAST executable, you may do so, but if not, you should change your command to:

PlotFASToutput({'../../CertTest/Test01.SFunc.out''},{'SFunc'});

I hope that helps.

Best regards,

The problem is solved.

I was only simulating in the Matlab/Simulink environment and using the already existing command commented at the end of “Run_Test01_SIG.m” which compares the two results instead of just plotting one result.

Thank you very much for your time.

Best Regards,
Kamran Ali