In Simulink: Can the output argument of a function be used to input a text string (converted to uint8) to a Raspberry Pi eSpeak block?

In Simulink: Can the output argument of a function be used to input a text string (converted to uint8) to a Raspberry Pi eSpeak block?
This works with a 'constant' block and the uint8('string') as input. But I would like to use a function and even ask for user input (of a phrase to speak) if possible.
Thanks, John

 採用された回答

Murat Belge
Murat Belge 2013 年 12 月 9 日
Yes. It should. The 'eSpeak' block has been created using a MATLAB function block. You can right-click on the block and choose "Look under mask" to see the source MATLAB code. Create a copy of this block and modify the MATLAB code the way you want.

その他の回答 (1 件)

John
John 2013 年 12 月 21 日
I can see the function under the mask. I will give it a try. Thanks for your response. -John

カテゴリ

ヘルプ センター および File ExchangeMATLAB Support Package for Raspberry Pi Hardware についてさらに検索

製品

質問済み:

2013 年 11 月 14 日

回答済み:

2013 年 12 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by