Problem using WindRose package
Show older comments
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);
1 Comment
Walter Roberson
on 19 Jan 2020
addpath('M:\Matlab_download\WindRose 150622') ;
Answers (1)
Jonathan Demmer
on 20 Jan 2020
0 votes
Awesome thank you very much, sometimes I miss this kind of small error....
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!