TLC - Assign value from C function

Hey,
I try to assign in TLC a value from a C-Function. For example if I have a function in a c-module (header+source file) "int get()", I like to do something like that: %assign value = get()
Is everything like that possible? What did I need to do, that this works?

댓글 수: 1

Hi Adrian,
have a look at the following documentation: Write S-Function and TLC Files By Hand
This also includes writing TLC files by hand. Search for the following part:
%<y> = my_alg(%<u>);
HTH, Matthias

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Target Language Compiler에 대해 자세히 알아보기

제품

릴리스

R2016b

태그

질문:

2018년 7월 21일

댓글:

2018년 7월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by