how can i find the absolute value of decision variable in matlab optimprob?

how can i find the absolute value of decision variable in matlab optimprob?
when i use abs, it gives the below error
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • abs

Answers (0)

Categories

Asked:

NN
on 24 Aug 2021

Commented:

on 24 Aug 2021

Community Treasure Hunt

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

Start Hunting!