Matlab function block parsing error
Mostra commenti meno recenti
I have a matlab function block that solves the heat trasfer in a system using a finite difference scheme that I want to implement in a simulink system model. When i try to implement the code in a matlab function block I get the following error:
Errors occurred during parsing of MATLAB function 'Membrane1'(#144)
I has seen other folks have similar issues when variables are not preallocated correctly, but I don't think that is the issues here as all my inputs, outputs, and intermediates are preallocated.
I also don't think I am using any opperaters not supported by #codegen
Attached is the full code and an image of the way the matlab function block is connected. Please let me know if you have any ideas.
1 Commento
Russell
il 10 Dic 2013
Risposte (0)
Categorie
Scopri di più su Simulink Functions in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!