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
2020-1-20
Awesome thank you very much, sometimes I miss this kind of small error....
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Standard File Formats 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!