How to pass whole excel sheet to a MATLAB function
1 view (last 30 days)
Show older comments
Varsha J
on 1 Feb 2023
Answered: Walter Roberson
on 1 Feb 2023
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.
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Import from MATLAB 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!