Producing Embedded Controller using RealTime Workshop

5 ビュー (過去 30 日間)
Tom
Tom 2011 年 2 月 22 日
コメント済み: Mar Kim 2016 年 12 月 9 日
Hi,
I getting seriously stuck trying to understand Real Time Workshop.
For a project at university, I am trying to move our MATLAB/Simulink based control algorithms onto on-board processors, namely Gumstix Overo COM's. They run a version of command line Linux and are not suited to running the Simulink models within the Matlab Environment.
Currently we are having to manually translate our Simulink models into C++ code, but I understand it is possible to produce C++ source code directly from within Simulink using the RTW.
I have succeeded in doing this, but the generated source code won't compile using g++ or the 'make' command once the files are on the Overo COM's. The only thing I can reliably produce at the moment is a *.exe which isn't suitable for the target system.
I'm sure there is something really fundamental that I'm doing wrong, but I can't seem to find a good guide or help file to describe exactly how to do what I'm trying to do.
Host Environment: Windows x64 Laptop
Target Environment: Gumstix Overo Fire (Linux & ARM Cortex-A8 OMAP3530 Processor)
Thanks in Advance.

採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 2 月 22 日
Did you make sure that you have transported all files for building on another target? See Relocating Code to Another Development Environment
  8 件のコメント
ds li
ds li 2016 年 11 月 18 日
I also meet the same question, do you have the better solution?
Mar Kim
Mar Kim 2016 年 12 月 9 日
I too have a linking error for rt_StartDataLoggingWithStartTime, rt_UpdateTXYLogVars. Please tell us what library contains them. I actually need to compile this for ARM, so if I would prefer access to the source code.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by