using specific columns from a constant

hello all,
I have a rather large matrix (99226,40) that I load to a .mdl via From Workspace and use it as a constant input to a product. Is there a way where I can select how many of the columns I can use?
i.e. I want to see the product of X*matrix(:,1:9);
X is also a constant.
Thank you in advance

 Accepted Answer

In your constant block set the value to
matrix(:,1:9)
Use another constant block for X

More Answers (0)

Categories

Find more on Modeling 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!