Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Modeler (steve huntington)
Decrease font size
Increase font size
Topic Title: Simulink Integration
Topic Summary:
Created On: 8-Nov-2008 11:00
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 8-Nov-2008 11:00
User is offline View Users Profile Print this message


Oséias Ferreira

Posts: 1
Joined: 8-Nov-2008

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 Report this to a Moderator
 12-Nov-2008 11:26
User is offline View Users Profile Print this message


Paul Urban

Posts: 8
Joined: 11-Jun-2008

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 Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Modeler forum.
There are currently 0 users logged in.
The most users ever online was 18 on 3-Sep-2008 at 16:29.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.