Constant block doesn't accept array
9 vues (au cours des 30 derniers jours)
Plus de réponses (2)
Jim Riggs le 28 Oct 2022
Yes, you can save the value to the workspace and reference it in a constant block. As @Paul points out, the label on the Goto block has nothing to do with the workspace variable name.
The "To Workspace" block saves the variable in structure "Out", and has several options for the variable format.
Below, I show a reference to variable "B" saved to the workspace as an array and as a Time Series. This option is selected in the properties of the "To Workspace" block.
Abderrahim. B le 24 Août 2022
I understood that you want the output of the constant block to have the same size as the array in it.
Use the constant block from DSP System Toolbox/ Sources.
Hope this helps