资源简介
advisor 2002在高版本matlab下运行的补丁 亲测matlab r2014a 有效
代码片段和文件信息
%this file will update all the block diagrams in the models directory in ADVISOR
%so that they will work in Mathworks Release 13. This assumes that you have ADVISOR 2002
%and it is already included in your Matlab path which is done automatically when you type
%advisor at the command prompt.
%
% place this file in your current working directory in Matlab and type it‘s name.
%
% Here‘s what we posted on the advisor community web site regarding this error.
%
% Aug-30-2002 7:22 AM
%
% Regarding the boolean type problem in R13: Release 13 of Matlab has introduced
% a new type called logical. The problem is in the block diagrams in the accessory
% loads masked subsystem. Go to BD_PAR for instance and click on “mechanical accessory loads “
% then click on the “Mechanical Accessory Loads V2 “ block. You will see a mask window pop
% open. At the top you will see the “not“ function used. In release 12 and earlier this
% function returned a 1 or a 0 for true and false. Now it returns a new type logical. This
% is causing the problems. To fix the problem multiply by 1 (which causes a type change
% to double). That should fix the logical errors.
clear all
%change directories to the models directory
cd(strrep(which(‘advisor.m‘)‘advisor.m‘‘models‘))
%get the list of everything in the models directory
dir_list=dir;
%For the items in the directory that are .mdl files do the following
k=1;
for i=1:length(dir_list)
if ~isempty(strfind(dir_list(i).name‘.mdl‘))
- 上一篇:MATLAB编写计算有限长序列的DFT和IDFT函数
- 下一篇:fir与irr滤波器
相关资源
- MATLAB编写计算有限长序列的DFT和IDFT函
- OFDM-BER-BPSK的matlab
- 牛顿迭代求解串联机器人运动学正解
- jpeg压缩的matlab实现
- 永磁同步电机matlab仿真
- ICP实现代码MATLAB
- RLS_算法matlab实现
- rbf函数逼近算法
-
SVPWM的simuli
nk仿真(附带Matlab funct - 蚁群算法matlab完整代码
- 相机标定源代码,c、matlab
- LMS算法及归一化LMS算法的MATLAB代码
- lmd算法MATLAB仿真程序
- matlab预处理共轭梯度法
- meanshift的matlab实现及2维图演示代码
- 利用matlab对瑞利衰落信道仿真
- 均匀球体与长方体重力异常正演模拟
- 小波降噪软硬阈值改进阈值matlab代码
- matlab处理Adams仿真KC结果生产报告的程
- 图像的面积计算
- 三电平逆变器
- matlab数据预测模型算法.rar
- 惯导IMU初始姿态解算粗对准MATLAB
- emd分解matlab程序172943
- 小波神经网络MATLAB代码.zip
- 现代控制系统第十二版配套matlab
- 三周期极小曲面建模代码
- 直方图均衡化Matlab源代码
- 基本Snake活动轮廓模型
- 汽车动力模型 发动机模型matlab/simul
评论
共有 条评论