Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
optimization using matlab and abaqus

Subject: optimization using matlab and abaqus

From: rsch tosh

Date: 13 May, 2010 21:49:05

Message: 1 of 3

Hi when I try to run my m file i get these errors, can anyone comment on such errors

Error using ==> gads\private\poptimfcnchk
PATTERNSEARCH cannot continue because user supplied objective function failed with the following error:
Error using ==> fgets
Invalid file identifier.

Subject: optimization using matlab and abaqus

From: Walter Roberson

Date: 13 May, 2010 22:11:38

Message: 2 of 3

rsch tosh wrote:
> Hi when I try to run my m file i get these errors, can anyone comment on
> such errors
>
> Error using ==> gads\private\poptimfcnchk
> PATTERNSEARCH cannot continue because user supplied objective function
> failed with the following error:
> Error using ==> fgets
> Invalid file identifier.

If you opened a file and passed the file identifier in to a routine, then you
seem to have not checked whether the file open succeeded before you made the call.

If you passed a file name to a routine, the file appears not to exist --
though the routine should, in that case, produce a better error message.

Subject: optimization using matlab and abaqus

From: rsch tosh

Date: 14 May, 2010 17:43:20

Message: 3 of 3

thank u, Ill try to look into that part. it seems that the problem lies there

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us