appdesigner使用setVariable时无法输入参数
在运行时后matlab命令行出现
警告: 正在将调节后的变量 ‘a’ 的工作区从 ‘global-workspace’ 切换到 ‘DXBKQZLDl’ (模型 ‘DXBKQZLDl’ 使用工作区 ‘DXBKQZLDl’ 中的变量)。
> 位置:rapid_accel_target_utils
位置: rapid_accel_target_utils
位置: rapid_accel_target_utils
位置: sl_feval
位置: Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
警告: 工作区 ‘DXBKQZLDl’ 中的变量 ‘a’ 会影响不可调节参数的值,因此无法调节。其调节后的值将被忽略。
或
警告: In rapid accelerator mode, when the simulation is started from the command line, visualization blocks are not updated. If the simulation is started
from the toolstrip, visualization blocks are updated.
> 位置:Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
警告: 变量 ‘R’ (在工作区 ‘global-workspace’ 中)已调节,但未使用其调节后的值。
> 位置:Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
警告: 变量 ‘L’ (在工作区 ‘global-workspace’ 中)已调节,但未使用其调节后的值。
> 位置:Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
>> 请问该怎么解决,谢谢在运行时后matlab命令行出现
警告: 正在将调节后的变量 ‘a’ 的工作区从 ‘global-workspace’ 切换到 ‘DXBKQZLDl’ (模型 ‘DXBKQZLDl’ 使用工作区 ‘DXBKQZLDl’ 中的变量)。
> 位置:rapid_accel_target_utils
位置: rapid_accel_target_utils
位置: rapid_accel_target_utils
位置: sl_feval
位置: Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
警告: 工作区 ‘DXBKQZLDl’ 中的变量 ‘a’ 会影响不可调节参数的值,因此无法调节。其调节后的值将被忽略。
或
警告: In rapid accelerator mode, when the simulation is started from the command line, visualization blocks are not updated. If the simulation is started
from the toolstrip, visualization blocks are updated.
> 位置:Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
警告: 变量 ‘R’ (在工作区 ‘global-workspace’ 中)已调节,但未使用其调节后的值。
> 位置:Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
警告: 变量 ‘L’ (在工作区 ‘global-workspace’ 中)已调节,但未使用其调节后的值。
> 位置:Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
>> 请问该怎么解决,谢谢 在运行时后matlab命令行出现
警告: 正在将调节后的变量 ‘a’ 的工作区从 ‘global-workspace’ 切换到 ‘DXBKQZLDl’ (模型 ‘DXBKQZLDl’ 使用工作区 ‘DXBKQZLDl’ 中的变量)。
> 位置:rapid_accel_target_utils
位置: rapid_accel_target_utils
位置: rapid_accel_target_utils
位置: sl_feval
位置: Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
警告: 工作区 ‘DXBKQZLDl’ 中的变量 ‘a’ 会影响不可调节参数的值,因此无法调节。其调节后的值将被忽略。
或
警告: In rapid accelerator mode, when the simulation is started from the command line, visualization blocks are not updated. If the simulation is started
from the toolstrip, visualization blocks are updated.
> 位置:Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
警告: 变量 ‘R’ (在工作区 ‘global-workspace’ 中)已调节,但未使用其调节后的值。
> 位置:Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
警告: 变量 ‘L’ (在工作区 ‘global-workspace’ 中)已调节,但未使用其调节后的值。
> 位置:Simulink.Simulation.internal.DesktopSimHelper
位置: Simulink.Simulation.internal.DesktopSimHelper.sim
位置: Simulink/SimulationInput/sim
位置: ZLDL/RunButtonPushed (第 157 行)
位置: matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行)
>> 请问该怎么解决,谢谢 app designer, setbvariable MATLAB Answers — New Questions