Vector to Bus

버전 1.1.1 (52.1 KB) 작성자: thomas
Vector to bus conversion in Simulink
다운로드 수: 54
업데이트 날짜: 2019/12/2

Convert a vector of doubles into a (non-virtual) bus object. The input vector size must match the size of all the bus elements.

Unlike the built-in bus to vector block, the data type of the bus elements need not be consistent (input vector is cast to each elements data type). The top level bus may also contain nested nested buses, but arrays of buses are not supported.

As the S-Function contains simStruct macros that are not supported during code generation a TLC file is provided to inlines the S-Function during code generation.

Tested only on Linux (Ubuntu). Probably needs some changes to compile on Windows.

Build with:
>> mex('CFLAGS="$CFLAGS -std=c99 -Wall"','v2b_sf.c');

인용 양식

thomas (2024). Vector to Bus (https://github.com/thomas169/v2b), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2018a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Composite Signals에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.1.1

Github

1.1.0

TLC bug fixes

1.0.1

Edit platform compatibility.

1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.