Simulink cannot propagate the variable-size mode from the output port
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I've got an error message, When I have checked the box labeled on "Allow different data input sizes (Results in variable-size output signal)" under dialog box of block parameters for Multiport Switch. By the way, I checked the features of the multiport switch from the link below;

on above link at the bottom of the page, it is clearly written as follow: Multiport switch block supports the variable-size signals But, I've got the error message below:

How can I solve this issue ? If you help me with that problem, I'll be appreciated.
I'd like to give the details of my simulink model and parameters about my setup for driver and environment module. As you can see the figure below;


I created a subsystem and defined 3 modes for driver behavior under the subsystem. the first one is the full acceleration mode.

first, second and third parameters under the full acceleration mode were defined as:
AccrPedlPosnProf1_prc_Z = [0;0;100;100]; % Acceleration pedal position time profile map
BrkrPedlPosnProf1_prc_Z = [0;0]; % Brake pedal position time profile map
EnvRoadSlopProf1_prc_Z = [0;0]; % Road slope (gradient) time profile map
% Driver modes:
% 1. Acceleration
% 2. Braking
% 3. Hill climb
% Parameters
% ===== Name ===== Value ===== Description =====
DrvgMod_z_C = 1 ; % Sets the simulation scenario: 1. Acceleration, 2. Braking, 3. Hill climb
and I used low-pass filter at the output of each signal of full acceleration block. Before connecting the signals of the full acceleration block to the demux block, I put the signals through the multiport switch. I set up the sampling time as 0.01. I adjusted the simulation time as 50 seconds. When I run the simulation, I get the following message. It says that,
Simulink cannot propagate the variable-size mode from the output port 1 of 'full_accl/Subsystem/Multiport Switch' to the input port 1 of 'full_accl/Subsystem/Demux'. This input port expects a fixed-size mode. Examine the configuration of 'full_accl/Subsystem/Demux' for one of the following scenarios: 1) the block does not support variable-size signals; 2) the block supports variable-size signals but needs to be configured for them.
I've tried the way for discreting the bus signals and split into discrete paths for each and everyone. So, I went to split the signals and replaced the bus creator block with the demux block. then too, I got an error message like this.


Basically, I obtain the 4x2 matrix block, when I put the display block at the output of the driver module but, multiport switch block can't separate signals and propogate it through the low-pass filter. Why am I getting this error and How could I solve this issue ?
Please, help me with that ... Thank you very much for your interest in advance.
0 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!