Problem using WindRose package

1 view (last 30 days)
Jonathan Demmer
Jonathan Demmer on 19 Jan 2020
Answered: Jonathan Demmer on 20 Jan 2020
Hello all,
I downloaded the package called WindRose 150622. I wrote a really simple code as an exampl.. But a message error appeared and I have no idea how to solve this problem. Can someone help me pelase?
Error message:
Warning: Name is nonexistent or not a directory: M:\Matlab_download\WindRose
> In path (line 109)
In addpath (line 96)
Warning: Name is nonexistent or not a directory: D:\Results\wind_data\150622
> In path (line 109)
In addpath (line 96)
Undefined function or variable 'WindRose'.
Code:
clear all
close all
clc
cd('D:\Results\wind_data\');
addpath M:\Matlab_download\WindRose 150622;
M = xlsread('Crosby_wind.xlsx');
direction = M(552:887,1);
speed = M(552:887,3);
[figure_handle,count,speeds,directions,Table] = WindRose(direction,speed);

Answers (1)

Jonathan Demmer
Jonathan Demmer on 20 Jan 2020
Awesome thank you very much, sometimes I miss this kind of small error....

Tags

Community Treasure Hunt

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

Start Hunting!