Thread Subject: Simulink simulation time

Subject: Simulink simulation time

From: Eli Chmouni

Date: 30 Oct, 2009 18:37:03

Message: 1 of 2

Hello Everyone;
I have created a working simulink model also i have created a working GUI. My question is :
Is there a way that i can control the simulation time of simulink from my GUI. That is i want to create an edit box in my GUI that a user can input the simulation time he wants the simulink model to run
Any help is appreciated
Thank you

Subject: Simulink simulation time

From: Guy Rouleau

Date: 31 Oct, 2009 00:42:05

Message: 2 of 2

"Eli Chmouni" <echmouni@gmail.com> wrote in message <hcfboe$o3a$1@fred.mathworks.com>...
> Hello Everyone;
> I have created a working simulink model also i have created a working GUI. My question is :
> Is there a way that i can control the simulation time of simulink from my GUI. That is i want to create an edit box in my GUI that a user can input the simulation time he wants the simulink model to run
> Any help is appreciated
> Thank you

It should be possible to control almost everything in Simulink from a GUI.

By simulation time, do you mean the stop time? if yes something like set_param(bdroot,'StopTime').

If not, please give me additional detaisl so that I can better understand what you mean

Guy

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
simulink Eli Chmouni 30 Oct, 2009 14:39:03
time Eli Chmouni 30 Oct, 2009 14:39:03
gui Eli Chmouni 30 Oct, 2009 14:39:03
rssFeed for this Thread

Contact us at files@mathworks.com