DSPRelated.com
Forums

M-Files and SIMULINK

Started by Puya Afshar August 10, 2006
hi mates

1- how can i execute M-files while i am running in SImulink environment ?

2- What If i want to create a FOR loop inside simulink ?

Thanks in advance

Puya Ghasemi Afshar
Hi Puya,

In Simulink Blockset, there is a subdirectory called "User Defined
Functions". you can use these blocks to run any M file function or S
function.

Hope this helps
Kavous

On 8/9/06, Puya Afshar wrote:
>
> hi mates
>
> 1- how can i execute M-files while i am running in SImulink environment ?
>
> 2- What If i want to create a FOR loop inside simulink ?
> Thanks in advance
> Puya Ghasemi Afshar
>
>