sandialabs / NuMAD

Numerical Manufacturing And Design Tool (NuMAD) -- A design tool for wind and water turbine composite blades
http://numad.readthedocs.io/
Other
30 stars 19 forks source link

runIEC example doesn't run as set up #19

Open DeepFriedDerp opened 1 year ago

DeepFriedDerp commented 1 year ago

In /NuMAD/examples/runIEC/IECLoadsAnalysis.m, Line 14 addNumadPaths; % Establish paths

The addNumadPaths script doesn't add the base repo to the matlab path, so the subsequent call in IECLoadsAnalysis.m, Line 19 IEC = IECDef(inputFile); Will fail to run, because it is not in the matlab path.

A quick solution was found by adding the following to line 25 of addNumadPaths.m addpath(genpath(pwd));