how to use evalin?

hello, i have a cell s, and s{1} = 'EngDa_jEng_C',now i want implement the commands(EngDa_jEng_C = Simulink.Parameter),i want realized in a script, i want use evalin, i try use following, but failed,what is the right way?
evalin('base',' s{1} = Simulink.Parameter');

Answers (0)

Products

Release

R2020b

Asked:

on 21 Oct 2023

Commented:

on 21 Oct 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!