필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

problem with double variable in s-function builder

조회 수: 1 (최근 30일)
enzo milito
enzo milito 2015년 2월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello I try to build a simple s-function builder whit this code :
double m[30]; //u0[],y0[] is a double
for(i=0;i<=30;i++)
m[i]=u0[i];
for(i=0;i<=30;i++)
y0[i]=m[i];
build are ok, but when run simulink model Matlab R2012a shut down without any other information so if I define
int m[30];
instead of
double m[30];
I no have problem, but I haven't a right result what is the error? thanks

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by