Porting C++ to Simulink Code

1 次查看(过去 30 天)
None
None 2017-4-16
评论: Rik 2020-4-6
Hi Everybody,
I need to port a C++ program into Simulink. What do you guy's think is the best approach on accomplishing this task? I am kind of new to Simulink but not new to programming. I was also wondering what are some of the Simulink courses I should take. I probably will need an introductory course but what are some of the others that will help me with this porting?
Thank you for helping,
RG
  2 个评论
Rik
Rik 2020-4-6
Backup of question:
Title:
Porting C++ to Simulink Code
Body:
Hi Everybody,
I need to port a C++ program into Simulink. What do you guy's think is the best approach on accomplishing this task? I am kind of new to Simulink but not new to programming. I was also wondering what are some of the Simulink courses I should take. I probably will need an introductory course but what are some of the others that will help me with this porting?
Thank you for helping,
RG
Rik
Rik 2020-4-6
In response to your flag: questions on this forum are generally not deleted, unless there are very good reasons to do so (copyright infringement, or discussions that are illegal (like discussions about non-trivial cryptography)). These are exceedingly rare. It is much more common that people want to use this forum as a free consultation service.
Why do you want to remove this question?

请先登录,再进行评论。

采纳的回答

Sachin Kumar
Sachin Kumar 2017-4-19
First thing you should know is, Simulink is not a usual coding language like C,C++,etc., it's a graphical programming environment. It uses programming blocks to create the models(programs) which you can simulate to get the outputs.
You can run C++ programs from Simulink using S-function builder for this you need to know basics of Simulink first. You can get training from Mathworks itself: https://www.mathworks.com/services/training.html
Also you can look into coursera courses on MATLAB. Another way of learning is to look at the examples from Mathworks documentation,run the examples and make changes according to requirements.

更多回答(0 个)

类别

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