Skip to content

Error in running the available examples #1

@ghost

Description

Hello,

I downloaded the available optragen toolbox, then I obtained the available snopt files with a student precompiled license.

why i try to run one of the available examples, bang bang control for example,
i get the following errors

Error using snopt (line 141)
Not enough input arguments.

Error in BangBangControl (line 76)
[x,F,inform] =
snopt(init',xlow,xupp,[0;nlp.LinCon.lb;nlp.nlb],[Inf;nlp.LinCon.ub;nlp.nub],'ocp2nlp_cost_and_constraint');

however when i check if matlab can actually find snopt by typing

exist('snopt','file')

ans =

 2

any idea how to resolve the not enough input arguments issue ? the results i get are attached in a picture

I am using your toolbox for motion planning of an autonomous underwater vehicle

Thank you
capture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions