I need to read an array from the workspace

0

I'm trying to read a matrix from the workspace through the function " From Workspace " by passing it in the block " Matlab Function " whose input must equal the output, finally the value must be inserted in another variable " To Workspace " % ", as in the following image. The problem is only 1 if the array is

x = [ 1 2 3 4 5 ]

, it ignores the first value of the array, that is, 1, and starts from the second value in case 2. Thus the value of the output is

simout = [ 2 3 4 5]

Does anyone know how to solve, without adding a "zero" value in the array?

    
asked by anonymous 04.04.2018 / 18:31

0 answers