Getting transfer function from simulink circuit using linear analysis tool

Hi all
currently looking for some help on how to get a transfer function using simulink from your linear workspace analysis.
i am trying to drag and drop 'linsys1' into matlab as that was what the instruction was on this link https://au.mathworks.com/matlabcentral/answers/131093-transfer-function-of-a-simple-circuit-using-simulink.
when i do this i get an error of:
"Unrecognized function or variable 'linsys1'."
how can i fix this and why does it doe this.
i noted on the hyperlink above someone else had this issue but they did not help him reslove it.
thanks in advance.

Answers (1)

Hi Ben,
Assuming you are getting this error when you drag and drop the “System Object” directly onto the “MATLAB Base Workspace”.
Instead drag and drop the “System Object” into the “MATLAB Workspace” present just above the “Linear Analysis Workspace”, this will copy the “System Object” to “MATLAB Base Workspace” in MATLAB R2020b.
Hope it helps.

Categories

Products

Release

R2020b

Asked:

on 20 Sep 2021

Answered:

on 21 May 2024

Community Treasure Hunt

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

Start Hunting!