PARAMAGIC AND SIMULINK

Discussions about ParaMagic functionalities

Moderator: Moderators

PARAMAGIC AND SIMULINK

Postby evidals » Wed May 25, 2016 11:58 pm

Hi everyone,

I´d like to know if it´s possible if we can run Simulink blocks for
Control Purposes( Transfer functions, Integrator, derivative, Step, etc) with Paramagic Tool
Pls help.

Regards,

Enrique
J. Enrique Vidal Sandoval
Mechatronic Student at PUCP
Lima, Peru
User avatar
evidals
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Wed May 25, 2016 10:31 pm
Location: Peru
Full name: J.Enrique Vidal Sandoval

Re: PARAMAGIC AND SIMULINK

Postby rose.yntema@intercax.com » Thu Jun 02, 2016 9:13 am

Hi Enrique,

I'd like to understand your question better in order to help. Do you have ParaMagic installed, and have you explored section 8.3 of the user guide about the capabilities of the ParaMagic - MATLAB Connection? There is a tutorial model, HomeHeating, that comes with ParaMagic and shows how a MATLAB script that runs a Simulink model may be wrapped as a SysML constraint block for use in calculations by ParaMagic.

If you have already explored this use case and it doesn't help with your own, would you please provide some additional explanation of what you are trying to achieve? If you have built a model that you can share demonstrating what you are trying to do, that would be most helpful, but if not, at least provide some further explanation of your intentions.

Thanks!
Rose
rose.yntema@intercax.com
Forum Newbie
Forum Newbie
 
Posts: 8
Posts Rating:1
Joined: Tue Mar 17, 2015 12:13 pm

Re: PARAMAGIC AND SIMULINK

Postby evidals » Sat Jun 04, 2016 11:29 am

Hi Rose,
now I´ve Paramagic Installed and I didn´t know that inside the Paramagic folder [<MD_Root>\samples\ParaMagic\Tutorials] is a tutorial.pdf different to the given in ParaMagic Plugin User Guide
[http://www.nomagic.com/products/magicdraw-addons/paramagic-plugin.html > Resources] in section 8.3 Paramagic-Matlab Connection. I mean different because it is further explained.

The model I´m doing is an Electromechanical actuator for an Aileron of an Airplane and I´m using Simulink in order to know some parameters as Error, Overshoot, etc as seen in the next image
MATLABMODEL.png
Also in the HomeHeating tutorial, the script calls simulink by using the next commands:

mdl='s234sldemo_househeat_SE';
open_system(mdl);

and s234sldemo_househeat_SE has the .mdl extension.
I´ll try to use this same line, and then trying some .slx instead of .mdl I think it should work.
Now I´ve finished the parametric model of the system I´m modelling, so the next step for me is creating the instance and then simulate the model.
If I find any trouble I´ll let you know

Regards from Peru,

J. Enrique Vidal

pd. for me <MD_Root>=C:\Program Files\MagicDraw

rose.yntema@intercax.com wrote:Hi Enrique,

I'd like to understand your question better in order to help. Do you have ParaMagic installed, and have you explored section 8.3 of the user guide about the capabilities of the ParaMagic - MATLAB Connection? There is a tutorial model, HomeHeating, that comes with ParaMagic and shows how a MATLAB script that runs a Simulink model may be wrapped as a SysML constraint block for use in calculations by ParaMagic.

If you have already explored this use case and it doesn't help with your own, would you please provide some additional explanation of what you are trying to achieve? If you have built a model that you can share demonstrating what you are trying to do, that would be most helpful, but if not, at least provide some further explanation of your intentions.

Thanks!
Rose
You do not have the required permissions to view the files attached to this post.
J. Enrique Vidal Sandoval
Mechatronic Student at PUCP
Lima, Peru
User avatar
evidals
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Wed May 25, 2016 10:31 pm
Location: Peru
Full name: J.Enrique Vidal Sandoval


Return to ParaMagic

Who is online

Users browsing this forum: No registered users and 0 guests

cron