资源简介
open_file.m
代码片段和文件信息
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% name :open_file
% function :打开文件,获取谱数据
% parameter :无
% return :pu_data----谱数据,列向量
% author :逐临
% time :2018/1/4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function pu_data=open_file()
%% 获取文件路径和文件名
[filenamepathnamefilterindex]=uigetfile(...
{‘*.txt‘‘文本文件(*.txt)‘;‘*.mca‘‘二进制文件(*.mca)‘;‘*.pu‘‘谱文本(*.pu)‘;‘*.*‘‘All File(*.*)‘}...
‘File Selector‘);
%% 判断文件名和文件路径是否为空
if isequal(filename0) ||isequal(pathname0)
pu_data=0;
return;
end
%% 读取谱数据
fpath=[pathname file
相关资源
- ofdm1.m
- pure_pursuit_sim.m
- yucekongzhi.m
- Chineseflag.m
- MATLABR2016bMac破解版.txt
- aloha.m
- 基于NSGAII多目标优化Matlab代码.zip
- matlab仿真.rar
- matlabR2016b.zip
- TDOA算法matlab仿真代码.rar
- MATLABR2008控制系统动态仿真教程_例题
-
燃料电池汽车仿真电路设计SIMUli
n - 倒计时电路.ms14
- MatlabR2019a安装破解教程.zip
- maxfter.m
- case30.m
- MatlabR2019A.7z
- SVPWMconverter.mdl
- zw_MATLAB程序.zip
- Matlab调制库函数fskmod参数及源代码详
- MATLABR2018bWin64Crack.zip
- matlab2009a反复要求激活解决方案——亲
- DANDAOFANGZHEN.m
- 六自由度机器人避障问题的MATLAB仿真
- cosinebianhuan.m
- zw_clud12345-7946299-matlab实现.zip
- zw_滑模变结构控制MATLAB仿真(第2版)
- zw_16QAM信号调制解调Matlab仿真.zip
- zw_Matlab多旅行商实验.zip
- zw_52372580SINS-MatlabImplement.zip
评论
共有 条评论