Receiving "Too many return arguments are specified. Specify only one."

46 Ansichten (letzte 30 Tage)
David Sheets
David Sheets am 20 Okt. 2019
Kommentiert: Jan FitzGibbon am 5 Mär. 2020
I am trying to run a very simple code that gives me whatever values. I am new to MATLAB and I am just practicing. I have the following simulink diagram
and my .m is the following
options = simset;
options = simset('MaxStep',1,'MinStep',1e-5,'AbsTol',1e-3);
tf = 10;
[t,xv] = sim('vdpol',tf,options);
Once I can get t and xv I can perform plots but I seem to not get past that 7th line
Error using vdpolmat (line 7)
Too many return arguments are specified. Specify only one.
Like I said I am learning here and I know I am missing something dumb.
  3 Kommentare
Jan FitzGibbon
Jan FitzGibbon am 5 Mär. 2020
Thank you so much, saved me the night before my deadline

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Model, Block, and Port Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by