⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dothis.m

📁 multi uav(多无人机matlab下的仿真)
💻 M
字号:
% make the appropriate VR world
% get the VR sink handle, assign the correct properties to it
% update that block
make_uavvr('init')

% have to make the stateflow diagram first before the update
% due to timing of the stateflow block and signal propagation
make_uavmodes

% update the diagram after all this stuff is done
%  the stateflow section will work fine
%  the VR area will update the ports on the Multiport Selector
%  and hopefully the ports on the VR Sink
disp('updating diagram...');
set_param('vehicles','SimulationCommand','update');

% now time to reconnect all the appropriate lines since the last update
% put the correct number of ports on the Multiport that will feed the VR world
make_uavvr('connect')

disp('Simulation Updated!');






⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -