Info

此问题已关闭。 请重新打开它进行编辑或回答。

Error changing a block constant from a number to a letter for analyzing in an equation

1 次查看(过去 30 天)
Hi, I am trying to do something very simple, just change a variable from a number to a letter for integration. It gives me an error like the following:
This is what I have set it up as:

回答(1 个)

Siriniharika Katukam
Hi,
I understand that you are trying to access a variable that is not defined in any of the workspaces. You can make the variable available to the constant block by just declaring it in the base workspace. You can fix it from the error dialog box.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by