Clear Filters
Clear Filters

Getting transfer function from simulink circuit using linear analysis tool

2 views (last 30 days)
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)

Pramil
Pramil on 21 May 2024
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

Find more on Trimming and Linearization in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!