'step()' and 'tf()' not working on MATLAB 2022?

Hi there, I'm trying despretaly to use the 'tf()' command to create an transfer function. Later on I want to 'figure' the step response. I searched the help areas and watched tutorials about the same task than mine but it wont work for me.
My syntax is:
%% Aufgabe 1.2
m = 100; %Kilogramm (Masse)
d = 1; %Ns/m (Dämpfung)
c = 1e4; %N/m (Federsteifigkeit)
%Übertragungfunktion
Z = 1; %(Zählerpolynom)
N = [m, d, c]; %Nennerpolynom
G = tf(Z,N); %Übertragungsfunktion
%Statische Verstärkung
K = 1/c;
%Sprungantwort
figure(1)
step(G)
The errors are:
'tf' requires one of the following:
Control System Toolbox
DSP System Toolbox
Model Predictive Control Toolbox
RF Toolbox
Signal Processing Toolbox
Error in Aufgabe1 (line 26)
G = tf('1','N'); %Übertragungsfunktion
Check for incorrect argument data type or missing argument in
call to function 'step'.
Error in Aufgabe1 (line 33)
step(G)
Did they changed the commands in the 2022 version of Matlab?
Thanks for the help!

Answers (1)

The step() and tf() functions require the Control System Toolbox.
You can enter this to determine if the License exists or not:
status = license('test', 'Control_Toolbox')
For more info, please refer here or contact technical support.

Categories

Find more on Control System Toolbox in Help Center and File Exchange

Products

Release

R2022a

Asked:

on 26 Apr 2022

Answered:

on 26 Apr 2022

Community Treasure Hunt

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

Start Hunting!