Import Values from Excel Sheet to Simulink Subsystem Constant Block

Hello everyone,
I have an Excel Sheet which I imported to Matlab and I'm trying to set the Values of th Excel Sheet from Matlab to Simulink.
I have a Costant Block for each value in a Simulink Subsystem.
I have an array for each column. I want to put o to first constan, 2 to second ....

Answers (1)

You can use one constant block to create a vector of numbers.

1 Comment

Thanks for the answer. I named the constant block and then used setparam()

Sign in to comment.

Categories

Products

Release

R2018a

Asked:

on 16 Feb 2022

Commented:

on 19 Feb 2022

Community Treasure Hunt

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

Start Hunting!