Re: Level-2 m-file S-function ...
- From: "Steve Conahan" <Steve.Conahan@xxxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 10:18:37 -0400
Hi Vince,
You could use the block handle (using gcbh) as an argument directly passed
into the s-fcn.
Then the s-fcn would have access to the block's handle for later use (such
as for writing to the userdata).
hth,
Steve
"Vince" <vdiesl@xxxxxxxxxxxx> wrote in message
news:ef12943.-1@xxxxxxxxxxxxxxxxxxx
> Hi,
>
> Can a level-2 m-file s-function catch its own block handle during
> simulation? (I need to read/write the userdata of the s-function
> block from the s-function itself)
>
> Tx in advance.
.
- References:
- Level-2 m-file S-function ...
- From: Vince
- Level-2 m-file S-function ...
- Prev by Date: User Error
- Next by Date: Re: Stateflow graphical functions
- Previous by thread: Level-2 m-file S-function ...
- Next by thread: How to disable axes resizing in figures
- Index(es):