Date: Dec 3, 2012 8:48 AM
Author: Maryam Ahmad
Subject: matlab syntax for 'for workspace' in simulink

Hello everyone,
Can I please get help with this, I have searched the internet but could not find any information related to what exactly is the syntax for giving a value to the variable of 'for workspace' in simulink.

I am using this syntax in my m-file:

but it's giving the following error:

??? Error using ==> code1 at 6
block_diagram does not have a parameter named 'simin'.

how exactly do i give a parameter to simulink model from the workspace?