Advice on custom blocks
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!