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 件のコメント

Matthias Weber
Matthias Weber 2018 年 7 月 23 日
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 件)

カテゴリ

製品

リリース

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