I get this error bellow >> how can i fix it ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
khitam
el 3 de Sept. de 2022
Comentada: khitam
el 14 de Sept. de 2022
error : getDesiredStateFromTrajectory
Not enough input arguments.
Error in getDesiredStateFromTrajectory (line 5)
coefficient = coefficient';
code :
function [desire_state] = getDesiredStateFromTrajectory(coefficient, time_stamp)
%GETDESIREDSTATEFROMTRAJECTORY Summary of this function goes here
% Detailed explanation goes here
desire_state = zeros(1, 16);
coefficient = coefficient';
0 comentarios
Respuesta aceptada
Chunru
el 3 de Sept. de 2022
getDesiredStateFromTrajectory([1 2 3 4], 123) % call the function by passing the values
% Use this as a local function or save in a separate file
function [desire_state] = getDesiredStateFromTrajectory(coefficient, time_stamp)
%GETDESIREDSTATEFROMTRAJECTORY Summary of this function goes here
% Detailed explanation goes here
desire_state = zeros(1, 16);
coefficient = coefficient';
end
Más respuestas (0)
Ver también
Categorías
Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!