Problem using WindRose package

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);

Réponses (1)

Jonathan Demmer
Jonathan Demmer le 20 Jan 2020

0 votes

Awesome thank you very much, sometimes I miss this kind of small error....

Catégories

En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by