I have a To File block in my model and I want to use a workspace variable containing a string to specify the file name for this block. The To File block does not accept the name of a workspace variable like the Gain block does.
MATLAB: How to have the To File block use the file name from a workspace variable in Simulink 6.5 (R2006b)
blocksfilefromsimulinktoworkspace
Related Question
- How to avoid variable (or file) name conflicts when using multiple copies of library subsystems with To Workspace (or To File) blocks
- Can I set the data parameter of a Fromworkspace block by programming ??
- Declare variables from Matlab function workspace to Simulink worskpace
- Assigning Simulink parameters values to the Model Workspace using command line or scripting
- Assigning variables in model workspace from GUI in 2010b
- How to add a mask parameter to a simulink block
- How to edit the Simulink To Workspace block from a .m file
- Building simulink model from command window
Best Answer