I want to import a one dimentional array of the size 800000*1 into simulink from the workspace. However blocks like "Simin" require a 2-D matrix as input. Should I use another block? I get the following error when importing a vector using simin block:
Invalid variable specified as workspace input in 'G711decoder/From Workspace'. The variable is either a matrix or is a Simulink.SimulationData.Dataset object with an element containing matrix data. The matrix data must be a real, double, have two dimensions, and at least two columns. The first column must contain time values and the remaining columns the data values. Matrix values cannot be Inf or NaN.
constant
block, and set the value to the name of the variable you want to use, but then the data is all used at once, whereas with 'Load from workspace' the data is taken sample by sample – rinkert