필터 지우기
필터 지우기

Info

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

Dynamic dimensions in Bus object

조회 수: 1 (최근 30일)
Rob
Rob 2014년 8월 8일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi, I'm developing a sink C-MEX S-Function which handles a Bus object with four crucial fields as input. The first three are fixed-sized doubles named min, max and step. The fourth field has to be a double array whose dimension is defined by ceil((double) ((max-min)/step)). In my C-Struct I simply make this field a pointer which I can initialise dynamically with the values of the first three fields of the first incoming bus signal. How do I have to configure the bus object to accomplish a dynamic dimension of the fourth field in my bus object?
Thank you very much in advance!

답변 (0개)

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by