Simbiology error :- Rule is not a valid Matlab expression

3 ビュー (過去 30 日間)
Shivam Thakker
Shivam Thakker 2021 年 6 月 24 日
コメント済み: Walter Roberson 2021 年 6 月 25 日
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.

採用された回答

Walter Roberson
Walter Roberson 2021 年 6 月 24 日
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 件のコメント
Shivam Thakker
Shivam Thakker 2021 年 6 月 25 日
Actually, sir, I want some help regarding the same. Sir, I am referring to a paper in which they have build a model in Simbiology but they have not given the concentrations and units for all the parameters. So for now I have set the units by myself. So I am getting an error that the "Quantities of different dimensions cannot be added or subtracted". I know that this error is due to the random units(dimensions) that I have set. But can you help me or guide me on how can I remove this kind of error. I have tried unit conversion to true but is not working. Probably I have misunderstood the meaning of unit conversion.
Walter Roberson
Walter Roberson 2021 年 6 月 25 日
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".

サインインしてコメントする。

その他の回答 (0 件)

コミュニティ

その他の回答  SimBiology コミュニティ

カテゴリ

Help Center および File ExchangeExtend Modeling Environment についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by