Create an S-Function with 3D inputs

조회 수: 3 (최근 30일)
chef13
chef13 2015년 2월 20일
답변: VAN NGOC MAI 2018년 12월 27일
Hi to everyone. I am using Simulink and my model is too slow for my purposes. I am using already the Accelerator mode and I would like to create an S-function of a block which is the core of my algorithm. But when I try to generate the S-Function what I got is the following error:
I don't know what does it mean to use a TLC file and a mdlRTW function.
what is written in the image is :
Invalid parameters for S-function 'simulationBearingRigidity_DirConstr/Bearing Formation Algorithm1/Bearing Formation Algorithm_sfcn'. For code generation, S-function parameters must be one or two dimensional nonsparse numeric or character arrays unless the S-function uses a TLC file and has an mdlRTW function.
Thanks for any help.

답변 (1개)

VAN NGOC MAI
VAN NGOC MAI 2018년 12월 27일
I am also facing with same problem! Did you solve problem sucessfully?

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by