Skip to content

Looking for some help #3

Description

@wuuuiYan
  1. When I watch the video in the YouTube, the simulink model has errors as following.
Simulink does not have enough information to determine output sizes for this block. If you think the errors below are inaccurate, try specifying types for the block inputs and/or sizes for the block outputs.

Function 'crossFast' not supported for code generation.
[More information](matlab:helpview('coder','msginfo_Coder_builtins_FunctionNotSupportedForCodeGeneration');)

Function 'velocityFromRot.m' ([#999.1561.1613](matlab:das_dv_hyperlink('DAS','id','999.1561.1613'))), line 40, column 41:
"crossFast( repmat(omega_xy_x,1,num_vectors), r_p_x )"
Launch diagnostic [report](matlab: sfprivate('eml_report_manager','open',542);).

Function call failed.

Function 'Velocity due to rotation' ([#543.69.113](matlab:das_dv_hyperlink('DAS','id','543.69.113'))), line 2, column 10:
"velocityFromRot( V_xy_x, omega_xy_x, r_p_x )"
Launch diagnostic [report](matlab: sfprivate('eml_report_manager','open',542);).

Errors occurred during parsing of MATLAB function ['QuadcopterSimModel_LindiCopter/Quadcopter/Quadcopter Propulsion/Map-based propeller fixed to airframe/Velocity due to rotation'](matlab:sfprivate('sfOpenObjectBySId','QuadcopterSimModel_LindiCopter:4227:66:65:259'))

Simulink cannot determine sizes and/or types of the outputs for block ['QuadcopterSimModel_LindiCopter/Quadcopter/Quadcopter Propulsion/Map-based propeller fixed to airframe/Velocity due to rotation'](matlab:sfprivate('sfOpenObjectBySId','QuadcopterSimModel_LindiCopter:4227:66:65:259')) due to errors in the block body, or limitations of the underlying analysis. The errors might be inaccurate. Fix the indicated errors, or explicitly specify sizes and/or types for all block outputs.

Simulink cannot determine sizes and/or types of the outputs for block ['QuadcopterSimModel_LindiCopter/Quadcopter/Quadcopter Propulsion/Map-based propeller fixed to airframe/Velocity due to rotation'](matlab:sfprivate('sfOpenObjectBySId','QuadcopterSimModel_LindiCopter:4227:66:65:259')) due to errors in the block body, or limitations of the underlying analysis. The errors might be inaccurate. Fix the indicated errors, or explicitly specify sizes and/or types for all block outputs.

Error in port widths or dimensions. '[output ports 1](matlab:slprivate('open_and_hilite_port_hyperlink', 'hilite', ['QuadcopterSimModel_LindiCopter/Quadcopter/Quadcopter Propulsion/Map-based propeller fixed to airframe/Velocity due to rotation/V_xy_x'], 'Outport', 1);)' of '[QuadcopterSimModel_LindiCopter/Quadcopter/Quadcopter Propulsion/Map-based propeller fixed to airframe/Velocity due to rotation/V_xy_x](matlab:open_and_hilite_hyperlink ('QuadcopterSimModel_LindiCopter/Quadcopter/Quadcopter Propulsion/Map-based propeller fixed to airframe/Velocity due to rotation/V_xy_x','error'))' is a one dimensional vector with 3 elements.
  1. The zip package I downloaded doesn't have plot_flight_path.m file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions