Advice on custom blocks

조회 수: 1 (최근 30일)
Paul
Paul 2013년 10월 28일
Hi,
I am planning on building a custom block for fault insertion problem in simulink and I'm having trouble deciding what kind of block I should create. ie S-function, Subsystem, Matlab function
Here are its main aims.
1.To be able to be complied for xPC target into the real time workshop environment
2.To be able to use all forms of data types (different fault types)
3. Hopefully to change its data type output middle of simulation
4. To be able to have simple error checking or the parameters set and also to be robust to user error.
I'm leaning towards an S function would be best but i never created one so I'm not sure. Thanks
Paul

답변 (0개)

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by