MATLAB Answers

0

Android ToAppMethod block does not auto generate method prototype ?

Asked by Kiat Nern Yeo on 12 Jul 2019
Latest activity Answered by Sruthi Yenugula on 15 Jul 2019
Hello
I notice that the simulink support package, for android, inside the ToAppMethod, the block does not generate a method prototype in the android source code file.
Are we users supposed to create the entire method in the generated app ?
Based on the examples I cannot understand.
Thanks

  0 Comments

Sign in to comment.

1 Answer

Answer by Sruthi Yenugula on 15 Jul 2019

Q) Are we users supposed to create the entire method in the generated app ?
A) Yes the method needs to be added after importing to Android Studio. It is not auto generated. The purpose of this block is to provide a way to the users to add their own code in generated app.

  0 Comments

Sign in to comment.