Problem using WindRose package

1 次查看(过去 30 天)
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 个)

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

类别

Help CenterFile Exchange 中查找有关 Standard File Formats 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by