No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Get Current Stateflow Object - gcsfo

2.5 | 2 ratings Rate this file 3 Downloads (last 30 days) File Size: 488 Bytes File ID: #6683 Version: 1.0

Get Current Stateflow Object - gcsfo


Sven Probst (view profile)


06 Jan 2005 (Updated )

The function gcsfo returns all current (=selected) graphical stateflow objects.

| Watch this File

File Information

This is a very simple function to get all selected stateflow objects. Unfortunately it is not a Stateflow standard.

This function does not work with transitions going out off a state into a superstate if being in the superstate.Feel encouraged to improve this function.

Required Products Simulink
MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
25 Mar 2008 Nidal Bazzi

I found this useful

06 Jun 2007 Sven Probst

sfgco is available since R14SP3. When this file was uploaded (R14SP1) this function was not available. Therefore it is quite unfair to rate it as 'Poor'. Its functionality was so important the Mathworks added it as standard.
Maybe 'hello hello' could change the rating into 'General Comments'.
Nevertheless it is good to know, that sfgco now exists. As soon I have the time I will test it in the stateflow alignment tool - gcsfo is called there.
Are there people using a pre R14SP3 release of Stateflow ? If not, I could remove the file in a while.

Comment only
16 May 2007 hello hello

There is no need for it as Stateflow ships an equivalent function named


Please consider removing this entry. Thanks.

Contact us