The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: imulink - Embedded Matlab Function - Size of function not bounded error
Replies: 1   Last Post: Jul 28, 2013 12:33 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Phil Goddard

Posts: 124
Registered: 6/8/11
imulink - Embedded Matlab Function - Size of function not bounded error
Posted: Jul 24, 2013 5:57 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear Phil Goddard,
I hope I?m not disturbing you. From what you have written in different forums, I can imagine that you might have an idea of how to solve the problem that I?m getting in a MATLAB Function block.
This is the part of the text where I?m having troubles
Ptotal = fcn(SOC_S1_100,S1_AGENTS_100,time_CAP_100)

assert(time_CAP_100 (1) <100);
And this is the error that I?m getting
Computed maximum size of the output of function 'colon' is not bounded.
Static memory allocation requires all sizes to be bounded.
The computed size is [1 x :?].

Function 'Subsystem1/Slow Charge/S1/MATLAB Function' (#31.261.301), line 10, column 16: "[time_CAP_100(1):0.05:time_CAP_100(1)*2]"

What really disconcerts me is, Why is it working for the other two variables tcharging_a1_1 and tcharging_a1? I?ve trying to solve it but everything nothing worked.

I hope you can give me a clue of how to solve it.

Thank you very much for your attention.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.