Create model with input of variable size

Hello everyone,
I'm trying to create a simple model with a input that should be an array with size determined by a parameter that can be changed for any istance of the referenced model.
I have tried different things but I'm still not able to create it and i havent' found nothing similar into documentation.
Anyone has advice for this kind of problem.
Best regards.
Claudio

3 件のコメント

John D'Errico
John D'Errico 約4時間 前
Be specific, not vague, at least if you want good help. There must be dozens of tools in MATLAB that can work with a "model" in some form, in as many ways. Explain what you are doing, far more clearly. Wha tool are you using? Is this a question about Simulink? Or perhaps a regression model of some form?
Claudio Rosso
Claudio Rosso 約4時間 前
I'm just using simulink, i have a block into my custom library that accept as input one array of boolean with size not defined by the blocks but only by the "user".
I want to create the same behaviour with a normal model instead of a library block
Walter Roberson
Walter Roberson 40分 前
How will the block accept the input? From Workspace? From File? Constant Block with parameter set() by a MATLAB script?

サインインしてコメントする。

回答 (0 件)

製品

リリース

R2024a

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by