Simbiology error :- Rule is not a valid Matlab expression
3 views (last 30 days)
Show older comments
Shivam Thakker
on 24 Jun 2021
Commented: Walter Roberson
on 25 Jun 2021
When I am writting a rate rule I am getting this above error message. My rule is
LuxI = (1/Tx) ∗ (((tl_luxI ∗ [mRNA_luxI]) ∗ Tx) − ((dLuxI ∗ [LuxI]) ∗ Tx))
I have seen some of the error messages answers of Matlab but nothing worked in my case.Kindly help me with this.
0 Comments
Accepted Answer
Walter Roberson
on 24 Jun 2021
Your ∗ characters are all char(8727), unicode U+2217 https://www.compart.com/en/unicode/U+2217 "Asterisk Operator" .
They instead need to be char(42), unicode U+002A https://www.compart.com/en/unicode/U+002A "Asterisk"
8 Comments
Walter Roberson
on 25 Jun 2021
Unit conversion is for converting between compatible units, such as mm and m, or Newton-metres and Joules.
It does not assign "whatever units that make the calculations work out".
More Answers (0)
Communities
More Answers in the SimBiology Community
See Also
Categories
Find more on Extend Modeling Environment in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!