why do i get the error 'undefined function or variable ' for simin from workspace

11 views (last 30 days)

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 10 Feb 2021
When you use "From Workspace" block, it expects the variable "simin" exists in the base workspace. Create that variable to eliminate this error. For example
simin=[0, 0;1 10]
Fangjun Jiang
Fangjun Jiang on 2 Mar 2024
The answer provided one way. More often I would say, simin could be generated by other tools include the output of another Simulink simulation.

Sign in to comment.

More Answers (0)


Find more on Simulink Functions in Help Center and File Exchange





Community Treasure Hunt

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

Start Hunting!