Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking for some help #3

Open
wuuuiYan opened this issue Dec 23, 2022 · 0 comments
Open

Looking for some help #3

wuuuiYan opened this issue Dec 23, 2022 · 0 comments

Comments

@wuuuiYan
Copy link

  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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant