Borrar filtros
Borrar filtros

variable size signal and upper bound

4 visualizaciones (últimos 30 días)
sajjad allahgoli
sajjad allahgoli el 15 de Nov. de 2017
Editada: sajjad allahgoli el 15 de Nov. de 2017
I want to generate scl codes of function that brought it bellow.but when i check subsystem compatibility i face with this error"Data 'S' is inferred as a variable size matrix, while its properties in the Model Explorer specify its size as inherited or fixed. Please check the 'Variable Size' check box and specify the upper bounds in the size field." what i should be do?
function S=fan(m,p,A,B,C) S=zeros(p,m); for i=1:p for j=1:i S(i,j)=C*A^(i-j)*B end end S=S(:,1:m);

Respuestas (0)

Categorías

Más información sobre Simulink PLC Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by