![]() |
Telelogic Modeler (steve huntington) | ![]() |


|
Topic Title: Simulink Integration Topic Summary: Created On: 8-Nov-2008 11:00 Status: Read Only |
Linear : Threading : Single : Branch |
Search Topic |
Topic Tools
|
|
|
|
|
My name is Oséias, I'm from Brazil and I study at University of São Paulo.
I'm using an evaluate version of Rhapsody, integrating it with simulink models. I have one question abou it. I have in my model 3 classes: Generate Simulation (it has a simulink stereotype) Printing Generate generates data for Simulation. When compiled, the prompt asks values for each variable; Simulation has the simulink block and it's C++ code from Real Time Workshop. Printing prints the result of the simulation I inserted the simulink block and code, I created the flow ports following the rules for it and I could generate single values for each port of simulink model. But I want the generate matrices and vectors. How can I do it? Do I need to declare an array? When I do it, I can't use the flowports. I can declare variables in Generate as Real_T type from the Simulink profile, but it just accepts single values. I'm asking if in Rhapsody 7.2 I can declare the variables as vector, as it's in Matlab. Thanks |
|
Report this to a Moderator |
|
|
|
|
|
You can declare vectors and matrices in Simulink and those should be brought into Rhapsody as array types automatically. You should still be able to use these through flowports.
You may want to talk directly with technical support on this issue as they may be able to provide more assistance. Telelogic also has a university program. See http://www.telelogic.com/company/university/index.cfm |
|
Report this to a Moderator |
|
|
Telelogic Modeler
» Embedded Modeler
»
Simulink Integration
|
Topic Tools |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.