How to pass whole excel sheet to a MATLAB function

1 view (last 30 days)
I want to pass an excel sheet of dimension 104x4 to MATLAB function fully. The simulink block h1 is from excel sheet(104x4), i want to pass all the values in the sheet to the function in the beginning of excecution. But I am able to pass only one set of values to the function.

Accepted Answer

Walter Roberson
Walter Roberson on 1 Feb 2023
You cannot use From Workspace for this purpose. From Workspace is for creating a time-dependent signal. The first column is treated as the time.

More Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!