How to Use Assignin and Evalin Functions

Which is the right way to use 'assignin' and 'evalin' functions in the function file mentioned below.
How is one supposed to transfer data from Level 2 Matlab S-Funtion to a base workspace.
I have attached the Simulink file for reference. Please suggest.

Answers (0)

Community Treasure Hunt

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

Start Hunting!